backend/docker-compose.yml
Torma Kristóf 1af3e094d9
All checks were successful
continuous-integration/drone/push Build is passing
add envvars to docker-compose
2020-11-26 08:07:36 +01:00

27 lines
559 B
YAML

version: '3'
networks:
backend:
external: false
services:
backend:
image: registry.kmlabz.com/onspot/backend
restart: always
environment:
- ONSPOT_REDIS_URL=redis://db:6379/0
- ONSPOT_ENCODED_SECRET_KEY=emdlc2RmYnZoa2xyYWl3ZmJkdmtzZ2Vhd2ZiaWx2a3M=
- ONSPOT_SPOTIFY_CLIENT_ID=CHANGEME
- ONSPOT_SPOTIFY_CLIENT_SECRET=KEEPMESECRET
ports:
- "127.0.0.1:8080:8080"
networks:
- backend
db:
image: redis
restart: always
ports:
- "127.0.0.1:6379:6379"
networks:
- backend