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