Torma Kristóf
fe28b1e8e1
All checks were successful
continuous-integration/drone/push Build is passing
29 lines
586 B
YAML
29 lines
586 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=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
|