From 2bbd6f0071269cc6f091e92ccf826f6d002a7297 Mon Sep 17 00:00:00 2001 From: cyberspark13 Date: Wed, 2 Nov 2022 15:07:00 +0000 Subject: [PATCH] Module 5 finished touches. --- docker-compose.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 48a4ef5..0047925 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,10 @@ services: - 80:80 env_file: - .env + volumes: + - type: bind + source: ./todo_app + target: /opt/todo_app app-dev: container_name: development build: @@ -17,10 +21,18 @@ services: - "5000:5000" env_file: - .env + volumes: + - type: bind + source: ./todo_app + target: /opt/todo_app app-test: container_name: test build: context: . target: test env_file: - - .env \ No newline at end of file + - .env + volumes: + - type: bind + source: ./todo_app + target: /opt/todo_app \ No newline at end of file