Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
- .env
volumes:
- type: bind
source: ./todo_app
target: /opt/todo_app