Compare commits
3 Commits
c54e1e9b9e
...
b37b581a78
| Author | SHA1 | Date | |
|---|---|---|---|
| b37b581a78 | |||
|
|
0971134702 | ||
|
|
02bc67c5fd |
@@ -5,21 +5,21 @@ services:
|
|||||||
dockerfile: deployments/Dockerfile
|
dockerfile: deployments/Dockerfile
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
restart: always
|
restart: always
|
||||||
working_dir: /app # <--- Vital para que encuentre 'core'
|
working_dir: /app
|
||||||
environment:
|
environment:
|
||||||
- DEBUG=${DEBUG_MODE}
|
- DEBUG=${DEBUG_MODE}
|
||||||
- PYTHONPATH=/app # <--- Asegura que Python vea las carpetas
|
- PYTHONPATH=/app
|
||||||
- DB_NAME=gitea
|
- DB_NAME=gitea
|
||||||
- DB_USER=gitea
|
- DB_USER=gitea
|
||||||
- DB_PASSWORD=gitea
|
- DB_PASSWORD=gitea # <-- Asegúrate de que esta sea la que pusiste en la web de Gitea
|
||||||
- DB_HOST=gitea-db-1
|
- DB_HOST=gitea-db # <-- IMPORTANTE: Nombre del servicio, sin el "-1"
|
||||||
- DB_PORT=5432
|
- DB_PORT=5432
|
||||||
networks:
|
networks:
|
||||||
- gitea_default
|
- gitea_bridge # <-- Conectamos el servicio a nuestro puente
|
||||||
ports:
|
ports:
|
||||||
- "${PORT}:8000"
|
- "${PORT}:8000"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
gitea_default:
|
gitea_bridge: # <-- Definimos el puente
|
||||||
external: true
|
external: true
|
||||||
name: frontend
|
name: root_gitea_gitea # <-- ESTE es el nombre real que sale en tu 'docker network ls'
|
||||||
Reference in New Issue
Block a user