mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 13:27:31 -07:00
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:
parent
edf7af790b
commit
27b77cef80
1 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@ version: "3"
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: docker.io/thatonecalculator/calckey
|
image: docker.io/thatonecalculator/calckey
|
||||||
|
container_name: calckey_web
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
@ -17,11 +18,12 @@ services:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
volumes:
|
volumes:
|
||||||
- ./files:/calckey/files
|
- ./files:/calckey/files
|
||||||
- ./config:/calckey/.config:ro
|
- ./.config:/calckey/.config:ro
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: docker.io/redis:7.0-alpine
|
image: docker.io/redis:7.0-alpine
|
||||||
|
container_name: calckey_redis
|
||||||
networks:
|
networks:
|
||||||
- calcnet
|
- calcnet
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -30,6 +32,7 @@ services:
|
||||||
db:
|
db:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: docker.io/postgres:12.2-alpine
|
image: docker.io/postgres:12.2-alpine
|
||||||
|
container_name: calckey_db
|
||||||
networks:
|
networks:
|
||||||
- calcnet
|
- calcnet
|
||||||
env_file:
|
env_file:
|
||||||
|
|
Loading…
Reference in a new issue