feat: 修改 adguardhome 版本 (#206)

This commit is contained in:
zhengkunwang223 2023-07-06 13:58:12 +08:00 committed by GitHub
parent 47388ae401
commit 908d0497e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 128 additions and 169 deletions

View File

@ -1,96 +1,96 @@
additionalProperties: additionalProperties:
formFields: formFields:
- default: 20053 - default: 20053
edit: true edit: true
envKey: PLAIN_DNS_PORT envKey: PLAIN_DNS_PORT
labelEn: Plain DNS port labelEn: Plain DNS port
labelZh: 普通DNS端口 labelZh: 普通DNS端口
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: 20067 - default: 20067
edit: true edit: true
envKey: DHCP_PORT1 envKey: DHCP_PORT1
labelEn: DHCP service port 1 labelEn: DHCP service port 1
labelZh: DHCP服务端口1 labelZh: DHCP服务端口1
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: 20068 - default: 20068
edit: true edit: true
envKey: DHCP_PORT2 envKey: DHCP_PORT2
labelEn: DHCP service port 2 labelEn: DHCP service port 2
labelZh: DHCP服务端口2 labelZh: DHCP服务端口2
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: 23000 - default: 23000
edit: true edit: true
envKey: HTTP_PORT envKey: HTTP_PORT
labelEn: HTTP web port labelEn: HTTP web port
labelZh: HTTP网页端口 labelZh: HTTP网页端口
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: 23001 - default: 23001
edit: true edit: true
envKey: PANEL_APP_PORT_HTTP envKey: PANEL_APP_PORT_HTTP
labelEn: Initial setup web page port labelEn: Initial setup web page port
labelZh: 初始设置网页端口 labelZh: 初始设置网页端口
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: 20443 - default: 20443
edit: true edit: true
envKey: DOH_PORT envKey: DOH_PORT
labelEn: DOH service port labelEn: DOH service port
labelZh: DOH服务端口 labelZh: DOH服务端口
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: 853 - default: 853
edit: true edit: true
envKey: DOT_PORT envKey: DOT_PORT
labelEn: DOT service port labelEn: DOT service port
labelZh: DOT服务端口 labelZh: DOT服务端口
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: 20784 - default: 20784
edit: true edit: true
envKey: QUIC_PORT1 envKey: QUIC_PORT1
labelEn: QUIC service port 1 labelEn: QUIC service port 1
labelZh: QUIC服务端口1 labelZh: QUIC服务端口1
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: 8853 - default: 8853
edit: true edit: true
envKey: QUIC_PORT2 envKey: QUIC_PORT2
labelEn: QUIC service port 2 labelEn: QUIC service port 2
labelZh: QUIC服务端口2 labelZh: QUIC服务端口2
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: 5443 - default: 5443
edit: true edit: true
envKey: DNS_CRYPT_PORT envKey: DNS_CRYPT_PORT
labelEn: DNS Crypt service port labelEn: DNS Crypt service port
labelZh: DNS Crypt服务端口 labelZh: DNS Crypt服务端口
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: ./data/work - default: ./data/work
edit: true edit: true
envKey: WORK_PATH envKey: WORK_PATH
labelEn: Work data folder path labelEn: Work data folder path
labelZh: 工作数据文件夹路径 labelZh: 工作数据文件夹路径
required: true required: true
type: text type: text
- default: ./data/conf - default: ./data/conf
edit: true edit: true
envKey: CONFIG_PATH envKey: CONFIG_PATH
labelEn: Configuration folder path labelEn: Configuration folder path
labelZh: 配置文件夹路径 labelZh: 配置文件夹路径
required: true required: true
type: text type: text

View File

@ -1,32 +1,32 @@
version: '3' version: '3'
services: services:
adguardhome: adguardhome:
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
restart: always restart: always
networks: networks:
- 1panel-network - 1panel-network
ports: ports:
- ${PLAIN_DNS_PORT}:53/tcp - ${PLAIN_DNS_PORT}:53/tcp
- ${PLAIN_DNS_PORT}:53/udp - ${PLAIN_DNS_PORT}:53/udp
- ${DHCP_PORT1}:67/udp - ${DHCP_PORT1}:67/udp
- ${DHCP_PORT2}:68/udp - ${DHCP_PORT2}:68/udp
- ${HTTP_PORT}:80/tcp - ${HTTP_PORT}:80/tcp
- ${DOH_PORT}:443/tcp - ${DOH_PORT}:443/tcp
- ${DOH_PORT}:443/udp - ${DOH_PORT}:443/udp
- ${PANEL_APP_PORT_HTTP}:3000/tcp - ${PANEL_APP_PORT_HTTP}:3000/tcp
- ${DOT_PORT}:853/tcp - ${DOT_PORT}:853/tcp
- ${QUIC_PORT1}:784/udp - ${QUIC_PORT1}:784/udp
- ${DOT_PORT}:853/udp - ${DOT_PORT}:853/udp
- ${QUIC_PORT2}:8853/udp - ${QUIC_PORT2}:8853/udp
- ${DNS_CRYPT_PORT}:5443/tcp - ${DNS_CRYPT_PORT}:5443/tcp
- ${DNS_CRYPT_PORT}:5443/udp - ${DNS_CRYPT_PORT}:5443/udp
volumes: volumes:
- ${WORK_PATH}:/opt/adguardhome/work - ${WORK_PATH}:/opt/adguardhome/work
- ${CONFIG_PATH}:/opt/adguardhome/conf - ${CONFIG_PATH}:/opt/adguardhome/conf
image: adguard/adguardhome:v0.107.33 image: adguard/adguardhome:v0.107.33
labels: labels:
createdBy: "Apps" createdBy: "Apps"
networks: networks:
1panel-network: 1panel-network:
external: true external: true

View File

@ -1,11 +0,0 @@
additionalProperties:
formFields:
- default: 40026
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number

View File

@ -1,30 +0,0 @@
version: "3"
services:
synapse:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
volumes:
- synapse-data:/data
ports:
- "${PANEL_APP_PORT_HTTP}:8008"
environment:
- TZ=Asia/Shanghai
- UID=1000
- GID=1000
image: matrixdotorg/synapse:v1.86.0
logging:
options:
max-size: "10m"
command: run -m synapse.app.homeserver --config-path=/data/homeserver.yaml
labels:
createdBy: "Apps"
volumes:
synapse-data:
external: true
networks:
1panel-network:
external: true