Skip to content

Docker Compose files to deploy services easily

License

Notifications You must be signed in to change notification settings

danimart1991/docker-compose-files

Repository files navigation

Platform License GitHub last commit Tip Me via PayPal Sponsor Me via GitHub

Docker-Compose Files

This repository is a collection of my Docker-Compose files with which I easily deploy services on my server.

Related

Here are some related post in my blog:

Deployment

Easy Mode

  • Copy the docker-compose.yml file.

  • 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.

Hard Mode (WIP)

  • Copy the docker-compose.yml, .env.template and export-env.sh files.

  • Modify the .env.template removing all the keys/values not used in the docker-compose.yml.

  • Rename the .env.template to .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.sh and then deploy the service you want navigating to its folder and running docker-compose up -d.

Services

Sorted alphabetically

A

C

D

E

F

H

N

O

P

T

U