mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-08-02 09:13:16 +08:00
Clean up docker-compose and run Black formatter over entire codebase
This commit is contained in:
parent
6c232b3e89
commit
069aba80b1
60 changed files with 1946 additions and 1485 deletions
|
@ -5,7 +5,7 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: drf_template:latest
|
||||
image: drf_template
|
||||
ports:
|
||||
- "${BACKEND_PORT}:${BACKEND_PORT}"
|
||||
environment:
|
||||
|
@ -23,7 +23,7 @@ services:
|
|||
env_file: .env
|
||||
environment:
|
||||
- RUN_TYPE=worker
|
||||
image: drf_template:latest
|
||||
image: drf_template
|
||||
volumes:
|
||||
- .:/code
|
||||
- ./chrome:/chrome
|
||||
|
@ -42,7 +42,7 @@ services:
|
|||
env_file: .env
|
||||
environment:
|
||||
- RUN_TYPE=beat
|
||||
image: drf_template:latest
|
||||
image: drf_template
|
||||
volumes:
|
||||
- .:/code
|
||||
depends_on:
|
||||
|
@ -58,7 +58,7 @@ services:
|
|||
env_file: .env
|
||||
environment:
|
||||
- RUN_TYPE=monitor
|
||||
image: drf_template:latest
|
||||
image: drf_template
|
||||
ports:
|
||||
- "${CELERY_FLOWER_PORT}:5555"
|
||||
volumes:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue