Skip to main content

Docker Setup

I'm assuming you have docker installed already. All good. I would be creating a folder into which we will create a sub-folder for every docker app you want to run. 

You can just create one massive docker-composel.yml and put every app inside that, but from my experience, it gets hard to manage. 

On my system, I have the following layout:

apps/
├── home-assistant
├── jellyfin
└── traefik

I have a whole bunch of other apps, too, but you get the idea. 

So in principle, every folder for an app will have a docker-compose.yml file in it. (Once the container has started, it's likely that it will create a bunch of other stuff in that folder, too. 

You're going to be running a LOT of docker compose commands. It gets boring typing that shit out all the time, so I would recommend creating a few shell aliases for example:

alias dc='/usr/bin/docker compose'
alias dcf='/usr/bin/docker compose logs -f'