fix: attach app service to external coolify network for traefik routing
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user