mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Switch image repository to docker.io and fix bind mount for static files
This commit is contained in:
parent
5b2496bec1
commit
cf99755302
1 changed files with 4 additions and 4 deletions
|
@ -4,14 +4,14 @@ services:
|
|||
# Django Backend
|
||||
django:
|
||||
env_file: .env
|
||||
image: git.06222001.xyz/keannu125/drf_template:latest
|
||||
image: keannu125/drf_template:latest
|
||||
ports:
|
||||
- "${BACKEND_PORT}:8000"
|
||||
environment:
|
||||
- PYTHONBUFFERED=1
|
||||
- RUN_TYPE=web
|
||||
volumes:
|
||||
- ./backend/static:/backend/static
|
||||
- ./backend/static:./code/backend/static
|
||||
depends_on:
|
||||
- postgres
|
||||
|
||||
|
@ -20,7 +20,7 @@ services:
|
|||
env_file: .env
|
||||
environment:
|
||||
- RUN_TYPE=worker
|
||||
image: git.06222001.xyz/keannu125/drf_template:latest
|
||||
image: keannu125/drf_template:latest
|
||||
depends_on:
|
||||
- django
|
||||
- postgres
|
||||
|
@ -33,7 +33,7 @@ services:
|
|||
env_file: .env
|
||||
environment:
|
||||
- RUN_TYPE=beat
|
||||
image: git.06222001.xyz/keannu125/drf_template:latest
|
||||
image: keannu125/drf_template:latest
|
||||
depends_on:
|
||||
- celery
|
||||
- django
|
||||
|
|
Loading…
Reference in a new issue