“增加一些目录管理”

This commit is contained in:
Your Name
2020-12-25 07:02:28 +08:00
parent 3b98a2c626
commit f5dd2a3b42
9 changed files with 20 additions and 12 deletions
+4 -4
View File
@@ -3,13 +3,13 @@ services:
syncthing:
image: ghcr.io/linuxserver/syncthing
container_name: syncthing
hostname: syncthing #optional 一般用ip访问就可以
hostname: syncthing
environment:
- PUID=0 # 用户/用户组id 0为root,这个地方如果用新建用户 记得给授权 要不运行起来没有权限操作文件
- PGID=0 # 用户/用户组id 0为root,这个地方如果用新建用户 记得给授权 要不运行起来没有权限操作文件
- PUID=0
- PGID=0
- TZ=Europe/London
volumes:
- ./path/to/appdata/config:/config # 操作的文件地址,需要共享出去 或者下载过来的文件存放地址
- ./path/to/appdata/config:/config
- ./path/to/data1:/data1
- ./path/to/data2:/data2
ports: