mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-09-18 05:29:37 +08:00
Update docker-compose.yml files
This commit is contained in:
parent
e078e19f4b
commit
e063a4c292
2 changed files with 5 additions and 1 deletions
|
@ -12,6 +12,8 @@ services:
|
||||||
- RUN_TYPE=api
|
- RUN_TYPE=api
|
||||||
volumes:
|
volumes:
|
||||||
- ./src:/app/src # NOTE: Do not hot reload the entire /app folder as it will break the .venv
|
- ./src:/app/src # NOTE: Do not hot reload the entire /app folder as it will break the .venv
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
|
||||||
# Cache
|
# Cache
|
||||||
redis:
|
redis:
|
||||||
|
|
|
@ -13,6 +13,8 @@ services:
|
||||||
- RUN_TYPE=api
|
- RUN_TYPE=api
|
||||||
volumes:
|
volumes:
|
||||||
- ./src:/app/src # Bind mount for persistent schema.yml and static files
|
- ./src:/app/src # Bind mount for persistent schema.yml and static files
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
|
||||||
# Cache
|
# Cache
|
||||||
redis:
|
redis:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue