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
-11
@@ -2,7 +2,10 @@
|
||||
RUSTFS_ROOT_PATH=/home/rustfs
|
||||
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=9000
|
||||
PANEL_APP_PORT_HTTP=9001
|
||||
|
||||
# API 端口 [必填]
|
||||
PANEL_APP_PORT_API=9000
|
||||
|
||||
# 管理员账号 [必填]
|
||||
RUSTFS_ACCESS_KEY=rustfsadmin
|
||||
@@ -11,17 +14,8 @@ RUSTFS_ACCESS_KEY=rustfsadmin
|
||||
RUSTFS_SECRET_KEY=rustfsadmin
|
||||
|
||||
# 域名
|
||||
RUSTFS_SERVER_DOMAINS=127.0.0.1:9000
|
||||
RUSTFS_SERVER_DOMAINS=example.com
|
||||
|
||||
# 启用控制台 [必填]
|
||||
RUSTFS_CONSOLE_ENABLE=true
|
||||
|
||||
# 自定义挂载目录 1
|
||||
CUSTOM_MOUNT_DIRECTORY_1=
|
||||
|
||||
# 自定义挂载目录 2
|
||||
CUSTOM_MOUNT_DIRECTORY_2=
|
||||
|
||||
# 自定义挂载目录 3
|
||||
CUSTOM_MOUNT_DIRECTORY_3=
|
||||
|
||||
|
||||
@@ -9,17 +9,40 @@ services:
|
||||
- .env
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- RUSTFS_ADDRESS=:9000
|
||||
image: rustfs/rustfs:latest
|
||||
- RUSTFS_VOLUMES=/data/rustfs{0...3}
|
||||
- RUSTFS_ADDRESS=0.0.0.0:9000
|
||||
- RUSTFS_CONSOLE_ADDRESS=0.0.0.0:9001
|
||||
- RUSTFS_CONSOLE_ENABLE=true
|
||||
- RUSTFS_CORS_ALLOWED_ORIGINS=*
|
||||
- RUSTFS_CONSOLE_CORS_ALLOWED_ORIGINS=*
|
||||
- RUSTFS_OBS_LOGGER_LEVEL=info
|
||||
- RUSTFS_TLS_PATH=/opt/tls
|
||||
- RUSTFS_OBJECT_CACHE_ENABLE=true
|
||||
- RUSTFS_OBJECT_CACHE_TTL_SECS=300
|
||||
healthcheck:
|
||||
interval: 30s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
test:
|
||||
- CMD
|
||||
- sh
|
||||
- -c
|
||||
- curl -f http://127.0.0.1:9000/health && curl -f http://127.0.0.1:9001/rustfs/console/health
|
||||
timeout: 10s
|
||||
image: rustfs/rustfs:1.0.0-alpha.86
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:9000
|
||||
- ${PANEL_APP_PORT_API}:9000
|
||||
- ${PANEL_APP_PORT_HTTP}:9001
|
||||
restart: always
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
- ${RUSTFS_ROOT_PATH}/data:/etc/rustfs
|
||||
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
|
||||
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
|
||||
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
|
||||
- ${RUSTFS_ROOT_PATH}/logs:/app/logs
|
||||
- ${RUSTFS_ROOT_PATH}/data/rustfs0:/data/rustfs0
|
||||
- ${RUSTFS_ROOT_PATH}/data/rustfs1:/data/rustfs1
|
||||
- ${RUSTFS_ROOT_PATH}/data/rustfs2:/data/rustfs2
|
||||
- ${RUSTFS_ROOT_PATH}/data/rustfs3:/data/rustfs3
|
||||
|
||||
Reference in New Issue
Block a user