fix(docker): add coolify network to services for proper connectivity
This commit is contained in:
@@ -63,6 +63,7 @@ services:
|
|||||||
<<: *app-env
|
<<: *app-env
|
||||||
RUN_INIT: "1" # runs JWT keygen + migrations on start (only this service)
|
RUN_INIT: "1" # runs JWT keygen + migrations on start (only this service)
|
||||||
volumes: *app-volumes
|
volumes: *app-volumes
|
||||||
|
networks: [coolify]
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "php", "-r", "exit(@fsockopen('127.0.0.1', 80) ? 0 : 1);"]
|
test: ["CMD", "php", "-r", "exit(@fsockopen('127.0.0.1', 80) ? 0 : 1);"]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
@@ -79,6 +80,7 @@ services:
|
|||||||
<<: *app-env
|
<<: *app-env
|
||||||
RUN_INIT: "0"
|
RUN_INIT: "0"
|
||||||
volumes: *app-volumes
|
volumes: *app-volumes
|
||||||
|
networks: [coolify]
|
||||||
depends_on: [app]
|
depends_on: [app]
|
||||||
|
|
||||||
# Scheduler consumer — expires unpaid appointments every minute. Reuses app's image.
|
# Scheduler consumer — expires unpaid appointments every minute. Reuses app's image.
|
||||||
@@ -90,6 +92,7 @@ services:
|
|||||||
<<: *app-env
|
<<: *app-env
|
||||||
RUN_INIT: "0"
|
RUN_INIT: "0"
|
||||||
volumes: *app-volumes
|
volumes: *app-volumes
|
||||||
|
networks: [coolify]
|
||||||
depends_on: [app]
|
depends_on: [app]
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user