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:
parent
2b26382343
commit
d1a6a6bc27
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue