add envvars to docker-compose
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-11-26 08:07:36 +01:00
parent 20991dd50f
commit 1af3e094d9

View File

@ -9,8 +9,10 @@ services:
image: registry.kmlabz.com/onspot/backend image: registry.kmlabz.com/onspot/backend
restart: always restart: always
environment: environment:
- ONSPOT_REDIS_URL="redis://db:6379/0" - ONSPOT_REDIS_URL=redis://db:6379/0
- ONSPOT_ENCODED_SECRET_KEY="emdlc2RmYnZoa2xyYWl3ZmJkdmtzZ2Vhd2ZiaWx2a3M=" - ONSPOT_ENCODED_SECRET_KEY=emdlc2RmYnZoa2xyYWl3ZmJkdmtzZ2Vhd2ZiaWx2a3M=
- ONSPOT_SPOTIFY_CLIENT_ID=CHANGEME
- ONSPOT_SPOTIFY_CLIENT_SECRET=KEEPMESECRET
ports: ports:
- "127.0.0.1:8080:8080" - "127.0.0.1:8080:8080"
networks: networks: