refactor: route frontend through Traefik FQDN instead of a published host port
This commit is contained in:
parent
58953df167
commit
b7f9301adc
2 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ Docker Compose pentru Frappe/ERPNext v16.28.0, adaptat dupa `frappe_docker/pwd.y
|
|||
- `deploy.restart_policy` (ignorat de docker compose in mod non-swarm) inlocuit cu `restart:` explicit
|
||||
- parole (MariaDB root, admin site) prin variabile de mediu, setate ca Environment Variables in Coolify — nu sunt hardcodate in acest fisier
|
||||
- `create-site` e idempotent (verifica daca site-ul exista deja inainte sa incerce sa-l recreeze la un redeploy)
|
||||
- portul frontend e mapat pe `8081` (portul 8080 e deja folosit de dashboard-ul Traefik al Coolify)
|
||||
- frontend e rutat prin Traefik (Coolify) pe un subdomeniu, nu printr-un port publicat direct — vezi `docker_compose_domains` in Coolify pentru domeniul asignat
|
||||
|
||||
## Servicii
|
||||
|
||||
|
|
|
|||
|
|
@ -113,8 +113,8 @@ services:
|
|||
volumes:
|
||||
- sites:/home/frappe/frappe-bench/sites
|
||||
- logs:/home/frappe/frappe-bench/logs
|
||||
ports:
|
||||
- "8081:8080"
|
||||
expose:
|
||||
- "8080"
|
||||
|
||||
queue-long:
|
||||
image: frappe/erpnext:v16.28.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue