dev #7

Merged
jjminguez merged 14 commits from dev into master 2026-04-12 02:53:10 +00:00
Showing only changes of commit 02bc67c5fd - Show all commits

View File

@@ -5,21 +5,24 @@ services:
dockerfile: deployments/Dockerfile
container_name: ${CONTAINER_NAME}
restart: always
working_dir: /app # <--- Vital para que encuentre 'core'
working_dir: /app
environment:
- DEBUG=${DEBUG_MODE}
- PYTHONPATH=/app # <--- Asegura que Python vea las carpetas
- PYTHONPATH=/app
- DB_NAME=gitea
- DB_USER=gitea
- DB_PASSWORD=gitea
- DB_HOST=gitea-db-1
# CAMBIO CLAVE: Usamos el nombre del servicio, no el del contenedor con el "-1"
- DB_HOST=gitea-db
- DB_PORT=5432
networks:
- gitea_default
- gitea_network
ports:
- "${PORT}:8000"
networks:
gitea_default:
gitea_network:
external: true
name: frontend
# IMPORTANTE: Aquí debe ir el nombre que te salió al hacer 'docker network ls'
# Si tu red se llama 'gitea_default', pon ese nombre aquí.
name: gitea_default