mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-24 00:35:10 +00:00
refactor: Change port mapping to expose in docker-compose.yml
Updated the docker-compose.yml to use 'expose' instead of 'ports' for the service, aligning with Dokploy's configuration practices. This change enhances internal service communication while maintaining health check functionality.
This commit is contained in:
parent
e2730e894e
commit
51f71f2abc
1 changed files with 2 additions and 2 deletions
|
|
@ -174,8 +174,8 @@ services:
|
|||
- websocket
|
||||
networks:
|
||||
- erpnext-network
|
||||
ports:
|
||||
- "${HTTP_PORT:-8080}:8080"
|
||||
expose:
|
||||
- "8080"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:8080/api/method/ping || exit 1"]
|
||||
interval: 30s
|
||||
|
|
|
|||
Loading…
Reference in a new issue