Skip to content

Commit 48801f4

Browse files
committed
chore: Update web volumes
Add bind mount to provide env config in container runtime environment. Include .env path to test client credentials loaded from env file.
1 parent 53dccd0 commit 48801f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ services:
99
container_name: django_web
1010
depends_on:
1111
- db
12-
# Only make projects and apps accessible in container runtime environment
1312
volumes:
13+
# Provide only project and apps in container runtime environment
14+
- ./.envs:/usr/src/app/.envs
1415
- ./config:/usr/src/app/config
15-
- ./greetings://usr/src/app/greetings
16+
- ./greetings:/usr/src/app/greetings
1617
networks:
1718
- app_network
1819
ports:

0 commit comments

Comments
 (0)