Skip to content

WIP: docker: Add a docker-compose template

Goal

Give the basic Docker compose configuration files (docker-compose.yml and setup-env.sh.sample.postgres example file) to deploy the service with Docker compose

List of changes:

  • Add the docker-compose.yaml scalable definition up to 4 application nodes with Postgres as database
  • Add docker-compose.sh script which wraps the setup.env.sh enviroment loading
  • Add new examples of global vars in the setup-env.sh.sample
  • Add the setup-env.sh.sample.postres environment file example
  • Modify the tracie_dashboard/settings.py to allow the database setup with environment variables
  • Modify the prestart.sh to create the media dir
  • Modify the prestart.sh to populate the tracie_dashboard directory with the local_settings.py if this exist in the /run/secrets directory
  • Modify the start-docker.sh to propagate the new defined global environment variables
  • Update README.md with instructions to run docker-compose.
  • Ignore secrets dir
Edited by Pablo Saavedra

Merge request reports