backend/docker-compose.yml
Torma Kristóf 2b1650b36e
All checks were successful
continuous-integration/drone/push Build is passing
it is a secret
2020-11-27 01:56:27 +01:00

29 lines
571 B
YAML

version: '3'
networks:
backend:
external: false
services:
backend:
image: registry.kmlabz.com/onspot/backend
restart: always
depends_on:
- db
environment:
- ONSPOT_REDIS_URL=redis://db:6379/0
- ONSPOT_ENCODED_SECRET_KEY=BSE64ENCODED32CHARSLONGSTRING
- 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