bind volume in docker compose
This commit is contained in:
parent
90dc5dac84
commit
3039ad831a
@ -11,6 +11,10 @@ services:
|
|||||||
container_name: django
|
container_name: django
|
||||||
restart: always
|
restart: always
|
||||||
env_file: .env
|
env_file: .env
|
||||||
|
volumes:
|
||||||
|
- type: bind
|
||||||
|
source: ./django
|
||||||
|
target: /app
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
Loading…
Reference in New Issue
Block a user