Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2025-12-09 03:04:42 +00:00
parent 701d629a1b
commit 1c6cfa45eb
16 changed files with 74 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ services:
- database__client=mysql
- mail__options__service=Email
- mail__options__secure=true
image: ghost:6.10.0
image: ghost:6.10.1
labels:
createdBy: Apps
networks:
+3
View File
@@ -4,6 +4,8 @@ networks:
services:
lucky:
container_name: lucky
entrypoint:
- /goodluck/start.sh
env_file:
- ./envs/global.env
- .env
@@ -17,4 +19,5 @@ services:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
restart: always
volumes:
- ./run/start.sh:/goodluck/start.sh:ro
- ${LUCKY_ROOT_PATH}/data:/goodluck
+22
View File
@@ -0,0 +1,22 @@
#!/bin/sh
PORT=16601
/app/lucky -c /goodluck/lucky.conf -runInDocker &
MAIN_PID=$!
echo "Lucky main started with PID $MAIN_PID"
echo "Waiting for lucky to listen on port ${PORT}..."
while ! nc -z 127.0.0.1 "${PORT}" 2>/dev/null; do
sleep 1
done
echo "Lucky port ${PORT} is up"
echo "Running: /app/lucky -rSetHttpAdminPort=${PANEL_APP_PORT_HTTP}"
/app/lucky -rSetHttpAdminPort="${PANEL_APP_PORT_HTTP}"
echo "Running: /app/lucky -rSetHttpsAdminPort=${PANEL_APP_PORT_HTTP}"
/app/lucky -rSetHttpsAdminPort="${PANEL_APP_PORT_HTTP}"
wait $MAIN_PID