From 134a7af41105f679614daea0dd014d85988dde23 Mon Sep 17 00:00:00 2001 From: chimiana Date: Sat, 17 Dec 2022 00:31:39 +0000 Subject: [PATCH] Changes to server admin docker-compose.yml to support having both a dev and a production docker-compose running off the same configs --- docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 41ec491ab7..f51cf1b9a9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: