better compose
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-11-26 02:23:28 +01:00
parent 4fa6951c8a
commit ed08fd3cbb

View File

@ -1,14 +1,24 @@
version: '3'
networks:
redis:
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="
ports:
- "127.0.0.1:6379:6379"
networks:
- backend
db:
image: redis
restart: always
ports:
- "127.0.0.1:6379:6379"
networks:
- redis
- backend