This repository is a collection of my Docker-Compose files with which I easily deploy services on my server.
Here are some related post in my blog:
- Install Docker & Portainer in Debian
- Update the Portainer container
- Automatically update containers
- Online file browser for your server
- Backups towards Docker
- ...
-
Copy the
docker-compose.ymlfile. -
Change the environment vars
${XXXXXX}for your own. Example:- TZ=${DOCKER_TZ} to - TZ=Europe/Madrid
-
Modify the rest of the file with your own configuration.
-
Then, deploy the service with
docker-compose up -d.
-
Copy the
docker-compose.yml,.env.templateandexport-env.shfiles. -
Modify the
.env.templateremoving all the keys/values not used in thedocker-compose.yml. -
Rename the
.env.templateto.env. -
Run
$ . ./export-env.sh. -
Check that all the environment variables needed are set in current runtime using
$ env. -
Then, deploy the service with
docker-compose up -d.
To migrate my repository to your environment, you could clone the repository and modify at your own, so you simply need to run
$ . ./export-env.shand then deploy the service you want navigating to its folder and runningdocker-compose up -d.
Sorted alphabetically