1
0

精简提交历史记录

This commit is contained in:
okxlin
2023-11-09 19:15:01 +08:00
commit 691aa7aac9
1529 changed files with 800341 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
additionalProperties:
formFields:
- default: 40044
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: SSH Port
labelZh: SSH 端口
required: true
rule: paramPort
type: number
- default: 50000-50010
edit: true
envKey: EXTERNAL_PORT
labelEn: External port
labelZh: 外部端口
required: true
type: text
- default: 50000-50010
edit: true
envKey: INTERNAL_PORT
labelEn: Internal port
labelZh: 内部端口
required: true
type: text
- default: ./data/data
edit: true
envKey: EXTERNAL_DATA1
labelEn: External folder path 1
labelZh: 外部文件夹路径1
required: true
type: text
- default: /data
edit: true
envKey: INTERNAL_DATA1
labelEn: Internal folder path 1
labelZh: 内部文件夹路径1
required: true
type: text
- default: ./data/www
edit: true
envKey: EXTERNAL_DATA2
labelEn: External folder path 2
labelZh: 外部文件夹路径2
required: true
type: text
- default: /www
edit: true
envKey: INTERNAL_DATA2
labelEn: Internal folder path 2
labelZh: 内部文件夹路径2
required: true
type: text
- default: ""
edit: true
envKey: SSH_KEY
labelEn: SSH public key
labelZh: SSH 公钥
required: false
type: text
- default: "lxc1"
edit: true
envKey: LXC_HOSTNAME
labelEn: LXC hostname
labelZh: LXC主机名
required: true
type: text

View File

@@ -0,0 +1,30 @@
version: '3'
services:
lxc:
container_name: ${CONTAINER_NAME}
deploy:
resources:
limits:
cpus: ${CPUS}
memory: ${MEMORY_LIMIT}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:22"
- "${EXTERNAL_PORT}:${INTERNAL_PORT}"
volumes:
- "${EXTERNAL_DATA1}:${INTERNAL_DATA1}"
- "${EXTERNAL_DATA2}:${INTERNAL_DATA2}"
environment:
- DISTRIBUTION=alpine
- INITIAL_SSH_KEY=${SSH_KEY}
hostname: ${LXC_HOSTNAME}
privileged: true
image: micwy/lxc:v1.2
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true