32 lines
663 B
YAML
32 lines
663 B
YAML
volumes:
|
|
static-files:
|
|
|
|
services:
|
|
django:
|
|
build: &app-development-build
|
|
target: development
|
|
command: uv run --no-sync -- /app/src/manage.py runserver 0.0.0.0:8000
|
|
ports:
|
|
- "${DJANGO_PORT:-8000}:8000"
|
|
volumes:
|
|
- ./src:/app/src
|
|
- static-files:/app/src/newsreader/static
|
|
stdin_open: true
|
|
tty: true
|
|
|
|
celery:
|
|
build:
|
|
<<: *app-development-build
|
|
volumes:
|
|
- ./src/:/app/src
|
|
|
|
webpack:
|
|
build:
|
|
target: frontend-build
|
|
context: .
|
|
args:
|
|
BUILD_ARG: "dev"
|
|
command: npm run build:watch
|
|
volumes:
|
|
- ./src/:/app/src
|
|
- static-files:/app/src/newsreader/static
|