X + X + X + Y + Y
X + X + X + Y + Y
TTCTheo's Typesafe Cult
Created by DemiTastes on 1/1/2025 in #questions
Trying to wrap my head around Docker, Dockerfile, Docker Compose - and what about for OSS projects?
Just be sure to keep whatever secrets/passwords you have on a different file and you should be good
10 replies
TTCTheo's Typesafe Cult
Created by DemiTastes on 1/1/2025 in #questions
Trying to wrap my head around Docker, Dockerfile, Docker Compose - and what about for OSS projects?
Docker is just a tool used for creating a generalized environment for running whatever you are developing. There is never a bad time to learn how to utilize docker imo. Since you said you have a small project, the container that you will build should not be too complicated. I would look into how a Dockerfile or a docker compose file works and then build out the container you need from there. For images, only be concerned about pulling in the official docker image for whatever you might be working with, be it java, python, c++, postgres, etc. For example, if I needed a postgres docker image and a specific version, I would type in my docker compose file exactly what I am searching for:
services:
db:
image: postgres:9.0.0
services:
db:
image: postgres:9.0.0
10 replies