backend/docker-compose.yml

25 lines
471 B
YAML
Raw Normal View History

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
environment:
- ONSPOT_REDIS_URL="redis://db:6379/0"
- ONSPOT_ENCODED_SECRET_KEY="emdlc2RmYnZoa2xyYWl3ZmJkdmtzZ2Vhd2ZiaWx2a3M="
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