Changes to server admin docker-compose.yml to support having both a dev and a production docker-compose running off the same configs

This commit is contained in:
chimiana 2022-12-17 00:31:39 +00:00
parent 63f3849872
commit 134a7af411
1 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,7 @@ version: "3"
services:
web:
image: docker.io/thatonecalculator/calckey
container_name: calckey_web
restart: unless-stopped
depends_on:
- db
@ -17,11 +18,12 @@ services:
NODE_ENV: production
volumes:
- ./files:/calckey/files
- ./config:/calckey/.config:ro
- ./.config:/calckey/.config:ro
redis:
restart: unless-stopped
image: docker.io/redis:7.0-alpine
container_name: calckey_redis
networks:
- calcnet
volumes:
@ -30,6 +32,7 @@ services:
db:
restart: unless-stopped
image: docker.io/postgres:12.2-alpine
container_name: calckey_db
networks:
- calcnet
env_file: