add port
This commit is contained in:
@@ -127,6 +127,8 @@ services:
|
||||
<<: *app-env
|
||||
# Only here: migrations run once per deploy, not once per container.
|
||||
RUN_MIGRATIONS: "true"
|
||||
expose:
|
||||
- "8080"
|
||||
networks:
|
||||
- dokploy-network
|
||||
- default
|
||||
@@ -137,7 +139,7 @@ services:
|
||||
# Host(), gave Traefik two routers to choose between — it only broke once
|
||||
# both existed together, which is exactly what happened.
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-fsS", "http://localhost/up"]
|
||||
test: ["CMD", "curl", "-fsS", "http://localhost:8080/up"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
start_period: 40s
|
||||
|
||||
Reference in New Issue
Block a user