From 57dbacf592516f8c69161cb013356642e414c72c Mon Sep 17 00:00:00 2001 From: Caleb Rogers Date: Tue, 23 Jul 2024 18:48:54 +0800 Subject: [PATCH] Another docker compose rename --- docker-compose.prod.yml => docker-compose.dev.yaml | 8 ++++++++ docker-compose.yaml | 10 +--------- 2 files changed, 9 insertions(+), 9 deletions(-) rename docker-compose.prod.yml => docker-compose.dev.yaml (70%) diff --git a/docker-compose.prod.yml b/docker-compose.dev.yaml similarity index 70% rename from docker-compose.prod.yml rename to docker-compose.dev.yaml index e711af7..708fbc5 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.dev.yaml @@ -10,6 +10,11 @@ services: - .env depends_on: - psqldbgame + volumes: + - type: bind + source: ./app + target: /app + read_only: true psqldbgame: image: postgres @@ -19,3 +24,6 @@ services: - 3306:5432 env_file: - .env + +volumes: + app: diff --git a/docker-compose.yaml b/docker-compose.yaml index 708fbc5..33b783e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,16 +5,11 @@ services: build: context: ./ ports: - - 8000:8000 + - 80:8000 env_file: - .env depends_on: - psqldbgame - volumes: - - type: bind - source: ./app - target: /app - read_only: true psqldbgame: image: postgres @@ -24,6 +19,3 @@ services: - 3306:5432 env_file: - .env - -volumes: - app: