c3lf-system-3/docker-compose.dev.yml

31 lines
614 B
YAML
Raw Permalink Normal View History

2024-11-01 19:42:13 +00:00
services:
core:
build:
context: ./core
dockerfile: Dockerfile.dev
command: python manage.py runserver 0.0.0.0:8000
#environment:
# - DATABASE_URL
volumes:
- ./core:/code
ports:
- "8000:8000"
frontend:
build:
context: ./web
dockerfile: Dockerfile.dev
command: npm run serve
volumes:
- ./web:/web:ro
- /web/node_modules
ports:
- "8080:8080"
db:
image: mariadb
environment:
MARIADB_RANDOM_ROOT_PASSWORD: true
MARIADB_DATABASE: system3
MARIADB_USER: system3
MARIADB_PASSWORD: system3