精简提交历史记录
This commit is contained in:
5
apps/nginx-ui/latest/.env.sample
Normal file
5
apps/nginx-ui/latest/.env.sample
Normal file
@@ -0,0 +1,5 @@
|
||||
CONTAINER_NAME="nginx-ui"
|
||||
PANEL_APP_PORT_HTTPS="31443"
|
||||
PANEL_APP_PORT_HTTP="31080"
|
||||
WEB_PATH="./data/www"
|
||||
DATA_PATH="./data"
|
||||
32
apps/nginx-ui/latest/data.yml
Normal file
32
apps/nginx-ui/latest/data.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 31080
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Console Port
|
||||
labelZh: 控制台端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 31443
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTPS
|
||||
labelEn: HTTPS Port
|
||||
labelZh: HTTPS端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
- default: ./data/www
|
||||
edit: true
|
||||
envKey: WEB_PATH
|
||||
labelEn: WEB folder path
|
||||
labelZh: 网页文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
23
apps/nginx-ui/latest/docker-compose.yml
Normal file
23
apps/nginx-ui/latest/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3'
|
||||
services:
|
||||
nginx-ui:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:80"
|
||||
- "${PANEL_APP_PORT_HTTPS}:443"
|
||||
volumes:
|
||||
- ${DATA_PATH}/nginx:/etc/nginx
|
||||
- ${DATA_PATH}/nginx-ui:/etc/nginx-ui
|
||||
- ${WEB_PATH}:/var/www
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
image: uozi/nginx-ui:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user