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