D4-project / d4-core

D4 core software (server and sample sensor client)
https://www.d4-project.org/
GNU Affero General Public License v3.0
43 stars 9 forks source link

Use Environmental variables for redis & Docker container configuration files #23

Closed trolldbois closed 5 years ago

trolldbois commented 5 years ago

small modifications to server.py & workers.py to allow Redis configuration to be picked by environmental variables. Adding a docker compose and two Dockerfile to allow an easy docker build.

run docker-compose up to start it all

adulau commented 5 years ago

Thank you very much for the contribution. We might in the future separate the Docker compose files into a specific directory.