Update Syncthing to v2 (major) (#1187)
This commit is contained in:
10
apps/syncthing-discosrv/2.0.0/data.yml
Normal file
10
apps/syncthing-discosrv/2.0.0/data.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "8443"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: 发现服务器端口
|
||||
labelEn: Discovery server port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
21
apps/syncthing-discosrv/2.0.0/docker-compose.yml
Normal file
21
apps/syncthing-discosrv/2.0.0/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
syncthing_discosrv:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
environment:
|
||||
- PUID=1001
|
||||
- PGID=1001
|
||||
- TZ=Asia/Shanghai
|
||||
image: syncthing/discosrv:2.0.0
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8443
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data:/var/stdiscosrv
|
||||
Reference in New Issue
Block a user