fix(docker): adjust formatting for RUN_INIT and define external coolify network
This commit is contained in:
+7
-1
@@ -61,7 +61,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
<<: *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
|
||||||
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);"]
|
||||||
@@ -96,3 +96,9 @@ volumes:
|
|||||||
jwt_keys:
|
jwt_keys:
|
||||||
uploads_public:
|
uploads_public:
|
||||||
uploads_var:
|
uploads_var:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
coolify:
|
||||||
|
name: coolify
|
||||||
|
driver: bridge
|
||||||
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user