feat: initialize deployment governance
This commit is contained in:
@@ -31,7 +31,11 @@ services:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: infra/backend.Dockerfile
|
||||
entrypoint: ["/entrypoint.sh"]
|
||||
command: ["python", "manage.py", "runserver", "0.0.0.0:8000"]
|
||||
env_file:
|
||||
- path: ../.env.example
|
||||
required: true
|
||||
- path: ../.env
|
||||
required: false
|
||||
ports:
|
||||
@@ -46,10 +50,12 @@ services:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: infra/backend.Dockerfile
|
||||
command: celery -A config.celery worker -l info
|
||||
env_file:
|
||||
- path: ../.env.example
|
||||
required: true
|
||||
- path: ../.env
|
||||
required: false
|
||||
command: celery -A config.celery worker -l info
|
||||
depends_on:
|
||||
- backend
|
||||
- redis
|
||||
@@ -60,6 +66,11 @@ services:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: infra/frontend.Dockerfile
|
||||
env_file:
|
||||
- path: ../.env.example
|
||||
required: true
|
||||
- path: ../.env
|
||||
required: false
|
||||
ports:
|
||||
- "5173:5173"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user