-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsyncthing.container
More file actions
46 lines (32 loc) · 824 Bytes
/
Copy pathsyncthing.container
File metadata and controls
46 lines (32 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This file created for podman-systemd.unit (quadlet)
# https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html
[Unit]
Description=Syncthing container
Wants=network-online.target
After=network-online.target
[Container]
ContainerName=syncthing
Image=docker.io/syncthing/syncthing
Pull=newer
AutoUpdate=registry
Label=hide=true
RemapUsers=keep-id
User=1000
Group=1000
Timezone=local
Environment=PUID=1000
Environment=PGID=1000
Environment=STGUIADDRESS=
Network=host
# PublishPort=8384:8384
# PublishPort=22000:22000/tcp
# PublishPort=22000:22000/udp
# PublishPort=21027:21027/udp
Volume=syncthing:/var/syncthing
Volume=/host/directory:/container/directory
PodmanArgs=--no-healthcheck --log-driver journald
[Service]
Restart=on-failure
# Restart=no
[Install]
WantedBy=multi-user.target default.target