2020-11-26 01:27:33 +01:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
networks:
|
2020-11-26 02:23:28 +01:00
|
|
|
backend:
|
2020-11-26 01:27:33 +01:00
|
|
|
external: false
|
|
|
|
|
|
|
|
services:
|
2020-11-26 02:23:28 +01:00
|
|
|
backend:
|
|
|
|
image: registry.kmlabz.com/onspot/backend
|
|
|
|
restart: always
|
2020-11-26 21:47:19 +01:00
|
|
|
depends_on:
|
|
|
|
- db
|
2020-11-26 02:23:28 +01:00
|
|
|
environment:
|
2020-11-26 08:07:36 +01:00
|
|
|
- ONSPOT_REDIS_URL=redis://db:6379/0
|
2020-11-27 01:56:27 +01:00
|
|
|
- ONSPOT_ENCODED_SECRET_KEY=BSE64ENCODED32CHARSLONGSTRING
|
2020-11-26 08:07:36 +01:00
|
|
|
- ONSPOT_SPOTIFY_CLIENT_ID=CHANGEME
|
|
|
|
- ONSPOT_SPOTIFY_CLIENT_SECRET=KEEPMESECRET
|
2020-11-26 02:23:28 +01:00
|
|
|
ports:
|
2020-11-26 03:21:08 +01:00
|
|
|
- "127.0.0.1:8080:8080"
|
2020-11-26 02:23:28 +01:00
|
|
|
networks:
|
|
|
|
- backend
|
2020-11-26 01:27:33 +01:00
|
|
|
db:
|
|
|
|
image: redis
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:6379:6379"
|
|
|
|
networks:
|
2020-11-26 02:23:28 +01:00
|
|
|
- backend
|