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
|
||||
environment:
|
||||
<<: *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
|
||||
healthcheck:
|
||||
test: ["CMD", "php", "-r", "exit(@fsockopen('127.0.0.1', 80) ? 0 : 1);"]
|
||||
@@ -96,3 +96,9 @@ volumes:
|
||||
jwt_keys:
|
||||
uploads_public:
|
||||
uploads_var:
|
||||
|
||||
networks:
|
||||
coolify:
|
||||
name: coolify
|
||||
driver: bridge
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user