mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-14 21:32:18 +08:00
29 lines
642 B
YAML
29 lines
642 B
YAML
version: '3'
|
|
services:
|
|
syncthing:
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: always
|
|
networks:
|
|
- 1panel-network
|
|
hostname: syncthing
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=${TIME_ZONE}
|
|
volumes:
|
|
- ${DATA_PATH_APP_CONFIG}:/config
|
|
- ${DATA_PATH_DATA1}:/data1
|
|
- ${DATA_PATH_DATA2}:/data2
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:8384
|
|
- ${SYNCTHING_PORT}:22000/tcp
|
|
- ${SYNCTHING_PORT}:22000/udp
|
|
- ${SYNCTHING_PORT_EXTRA_UDP}:21027/udp
|
|
image: linuxserver/syncthing:latest
|
|
labels:
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
|
1panel-network:
|
|
external: true
|