fix: geocoder/worker network + CORS configurable par env

- Ajoute geocoder-worker et worker sur le réseau coolify pour
  résoudre le hostname DB (lgrep99...) qui n'est accessible que
  depuis le réseau coolify
- CORS_ORIGINS env var optionnel pour configurer les origines
  autorisées (utilisé par l'env dev)
This commit is contained in:
nico 2026-06-27 10:34:05 +00:00
parent 2b26382343
commit d1a6a6bc27

View file

@ -22,6 +22,7 @@ services:
command: ["python", "src/worker.py"] command: ["python", "src/worker.py"]
networks: networks:
- bm_internal - bm_internal
- coolify
restart: unless-stopped restart: unless-stopped
pgadmin: pgadmin:
@ -90,6 +91,7 @@ services:
- worker_state:/app - worker_state:/app
networks: networks:
- bm_internal - bm_internal
- coolify
restart: "no" restart: "no"
networks: networks: