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:
@@ -1,9 +0,0 @@
|
||||
# 网络模式 [必填]
|
||||
NETWORK_MODE=host
|
||||
|
||||
# 数据持久化路径 [必填]
|
||||
LUCKY_ROOT_PATH=/home/lucky
|
||||
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=16601
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
lucky:
|
||||
container_name: 2.27.2
|
||||
entrypoint:
|
||||
- /goodluck/start.sh
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
image: gdy666/lucky:2.27.2
|
||||
labels:
|
||||
createdBy: Apps
|
||||
network_mode: ${NETWORK_MODE:-host}
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
|
||||
restart: always
|
||||
volumes:
|
||||
- ./run/start.sh:/goodluck/start.sh:ro
|
||||
- ${LUCKY_ROOT_PATH}/data:/goodluck
|
||||
@@ -1,50 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
DEFAULT_PORT=16601
|
||||
PORT_FILE="/goodluck/port"
|
||||
WAIT_SECONDS=30
|
||||
|
||||
if [ -f "$PORT_FILE" ]; then
|
||||
DETECT_PORT=$(cat "$PORT_FILE")
|
||||
echo "Loaded last port: ${DETECT_PORT}"
|
||||
else
|
||||
DETECT_PORT=$DEFAULT_PORT
|
||||
echo "No previous port found, using default port: ${DETECT_PORT}"
|
||||
fi
|
||||
|
||||
/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 ${DETECT_PORT} (timeout ${WAIT_SECONDS}s)..."
|
||||
SECONDS_WAITED=0
|
||||
while ! nc -z 127.0.0.1 "${DETECT_PORT}" 2>/dev/null; do
|
||||
sleep 1
|
||||
SECONDS_WAITED=$((SECONDS_WAITED + 1))
|
||||
|
||||
if [ "$SECONDS_WAITED" -ge "$WAIT_SECONDS" ]; then
|
||||
echo "Timeout waiting for port ${DETECT_PORT}, continue startup..."
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if nc -z 127.0.0.1 "${DETECT_PORT}" 2>/dev/null; then
|
||||
echo "Port ${DETECT_PORT} is up."
|
||||
else
|
||||
echo "Port ${DETECT_PORT} still not open, continuing anyway."
|
||||
fi
|
||||
|
||||
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}"
|
||||
|
||||
DIR=$(dirname "$PORT_FILE")
|
||||
mkdir -p "$DIR"
|
||||
|
||||
echo "${PANEL_APP_PORT_HTTP}" > "$PORT_FILE"
|
||||
echo "Saved admin port ${PANEL_APP_PORT_HTTP} to ${PORT_FILE}"
|
||||
|
||||
wait $MAIN_PID
|
||||
@@ -11,7 +11,7 @@ services:
|
||||
- LICENSE=basic
|
||||
- ES_SETTING_BOOTSTRAP_MEMORY__LOCK=true
|
||||
- ES_SETTING_PATH_REPO=/usr/share/elasticsearch/backup
|
||||
image: elasticsearch:8.19.13
|
||||
image: elasticsearch:9.3.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ services:
|
||||
- LICENSE=basic
|
||||
- ES_SETTING_BOOTSTRAP_MEMORY__LOCK=true
|
||||
- ES_SETTING_PATH_REPO=/usr/share/elasticsearch/backup
|
||||
image: elasticsearch:9.3.2
|
||||
image: elasticsearch:8.19.14
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
@@ -1,2 +0,0 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
@@ -1,2 +0,0 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
@@ -1,23 +0,0 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
lucky:
|
||||
image: gdy666/lucky:2.27.2
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
network_mode: ${NETWORK_MODE:-host}
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
|
||||
env_file:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ./run/start.sh:/goodluck/start.sh:ro
|
||||
- ${LUCKY_ROOT_PATH}/data:/goodluck
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
entrypoint: [ "/goodluck/start.sh" ]
|
||||
@@ -1,2 +0,0 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
@@ -1,2 +0,0 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
@@ -1,50 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
DEFAULT_PORT=16601
|
||||
PORT_FILE="/goodluck/port"
|
||||
WAIT_SECONDS=30
|
||||
|
||||
if [ -f "$PORT_FILE" ]; then
|
||||
DETECT_PORT=$(cat "$PORT_FILE")
|
||||
echo "Loaded last port: ${DETECT_PORT}"
|
||||
else
|
||||
DETECT_PORT=$DEFAULT_PORT
|
||||
echo "No previous port found, using default port: ${DETECT_PORT}"
|
||||
fi
|
||||
|
||||
/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 ${DETECT_PORT} (timeout ${WAIT_SECONDS}s)..."
|
||||
SECONDS_WAITED=0
|
||||
while ! nc -z 127.0.0.1 "${DETECT_PORT}" 2>/dev/null; do
|
||||
sleep 1
|
||||
SECONDS_WAITED=$((SECONDS_WAITED + 1))
|
||||
|
||||
if [ "$SECONDS_WAITED" -ge "$WAIT_SECONDS" ]; then
|
||||
echo "Timeout waiting for port ${DETECT_PORT}, continue startup..."
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if nc -z 127.0.0.1 "${DETECT_PORT}" 2>/dev/null; then
|
||||
echo "Port ${DETECT_PORT} is up."
|
||||
else
|
||||
echo "Port ${DETECT_PORT} still not open, continuing anyway."
|
||||
fi
|
||||
|
||||
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}"
|
||||
|
||||
DIR=$(dirname "$PORT_FILE")
|
||||
mkdir -p "$DIR"
|
||||
|
||||
echo "${PANEL_APP_PORT_HTTP}" > "$PORT_FILE"
|
||||
echo "Saved admin port ${PANEL_APP_PORT_HTTP} to ${PORT_FILE}"
|
||||
|
||||
wait $MAIN_PID
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- NEKO_WEBRTC_EPR=${PANEL_APP_PORT_WEBRTC_EPR}
|
||||
- NEKO_WEBRTC_ICELITE=1
|
||||
- NEKO_WEBRTC_IP_RETRIEVAL_URL=https://ifconfig.co/ip
|
||||
image: ghcr.io/m1k1o/neko/firefox:3.1.2
|
||||
image: ghcr.io/m1k1o/neko/firefox:3.1.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- NEKO_WEBRTC_EPR=${PANEL_APP_PORT_WEBRTC_EPR}
|
||||
- NEKO_WEBRTC_ICELITE=1
|
||||
- NEKO_WEBRTC_IP_RETRIEVAL_URL=https://ifconfig.co/ip
|
||||
image: ghcr.io/m1k1o/neko/google-chrome:3.1.2
|
||||
image: ghcr.io/m1k1o/neko/google-chrome:3.1.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- NEKO_WEBRTC_EPR=${PANEL_APP_PORT_WEBRTC_EPR}
|
||||
- NEKO_WEBRTC_ICELITE=1
|
||||
- NEKO_WEBRTC_IP_RETRIEVAL_URL=https://ifconfig.co/ip
|
||||
image: ghcr.io/m1k1o/neko/kde:3.1.2
|
||||
image: ghcr.io/m1k1o/neko/kde:3.1.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- NEKO_WEBRTC_EPR=${PANEL_APP_PORT_WEBRTC_EPR}
|
||||
- NEKO_WEBRTC_ICELITE=1
|
||||
- NEKO_WEBRTC_IP_RETRIEVAL_URL=https://ifconfig.co/ip
|
||||
image: ghcr.io/m1k1o/neko/microsoft-edge:3.1.2
|
||||
image: ghcr.io/m1k1o/neko/microsoft-edge:3.1.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- NEKO_WEBRTC_EPR=${PANEL_APP_PORT_WEBRTC_EPR}
|
||||
- NEKO_WEBRTC_ICELITE=1
|
||||
- NEKO_WEBRTC_IP_RETRIEVAL_URL=https://ifconfig.co/ip
|
||||
image: ghcr.io/m1k1o/neko/remmina:3.1.2
|
||||
image: ghcr.io/m1k1o/neko/remmina:3.1.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- NEKO_WEBRTC_EPR=${PANEL_APP_PORT_WEBRTC_EPR}
|
||||
- NEKO_WEBRTC_ICELITE=1
|
||||
- NEKO_WEBRTC_IP_RETRIEVAL_URL=https://ifconfig.co/ip
|
||||
image: ghcr.io/m1k1o/neko/tor-browser:3.1.2
|
||||
image: ghcr.io/m1k1o/neko/tor-browser:3.1.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user