fix: attach app service to external coolify network for traefik routing

This commit is contained in:
2026-07-23 14:18:42 +00:00
parent 1fb42862be
commit d615bb38fe
+8
View File
@@ -28,6 +28,9 @@ services:
- minio - minio
expose: expose:
- "4321" - "4321"
networks:
- default
- coolify
healthcheck: healthcheck:
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:4321/api/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"] test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:4321/api/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
interval: 30s interval: 30s
@@ -66,3 +69,8 @@ services:
volumes: volumes:
db-data: db-data:
minio-data: minio-data:
networks:
coolify:
external: true