Files
django-core-base/deployments/docker-compose.yml
minguezsanzjuanjose 0ce0554443
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good
Update docker-compose.yml
2026-04-12 04:39:31 +02:00

25 lines
589 B
YAML

services:
web:
build:
context: ..
dockerfile: deployments/Dockerfile
container_name: ${CONTAINER_NAME}
restart: always
working_dir: /app # <--- Vital para que encuentre 'core'
environment:
- DEBUG=${DEBUG_MODE}
- PYTHONPATH=/app # <--- Asegura que Python vea las carpetas
- DB_NAME=gitea
- DB_USER=gitea
- DB_PASSWORD=gitea
- DB_HOST=gitea-db
- DB_PORT=5432
networks:
- gitea_default
ports:
- "${PORT}:8000"
networks:
gitea_default:
external: true
name: frontend