mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
Processed apps directory via GitHub Actions
This commit is contained in:
@@ -5,13 +5,13 @@ services:
|
||||
lucky:
|
||||
container_name: lucky
|
||||
entrypoint:
|
||||
- /goodluck/start.sh
|
||||
- /app/conf/start.sh
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
image: gdy666/lucky:2.20.2
|
||||
image: gdy666/lucky:2.23.1
|
||||
labels:
|
||||
createdBy: Apps
|
||||
network_mode: ${NETWORK_MODE:-host}
|
||||
@@ -19,5 +19,6 @@ services:
|
||||
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
|
||||
restart: always
|
||||
volumes:
|
||||
- ./run/start.sh:/goodluck/start.sh:ro
|
||||
- ${LUCKY_ROOT_PATH}/data:/goodluck
|
||||
- ./run/start.sh:/app/conf/start.sh:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ${LUCKY_ROOT_PATH}/data:/app/conf
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
DEFAULT_PORT=16601
|
||||
PORT_FILE="/goodluck/port"
|
||||
PORT_FILE="/app/conf/port"
|
||||
WAIT_SECONDS=30
|
||||
|
||||
if [ -f "$PORT_FILE" ]; then
|
||||
@@ -12,7 +12,7 @@ else
|
||||
echo "No previous port found, using default port: ${DETECT_PORT}"
|
||||
fi
|
||||
|
||||
/app/lucky -c /goodluck/lucky.conf -runInDocker &
|
||||
/app/lucky -c /app/conf/lucky.conf -runInDocker &
|
||||
MAIN_PID=$!
|
||||
|
||||
echo "Lucky main started with PID $MAIN_PID"
|
||||
|
||||
Reference in New Issue
Block a user