-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (56 loc) · 2 KB
/
docker-compose.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
### Notes
#
# - some environment variables are needed to make sure this docker-compose config file works
#
version: '2'
services:
stdiscosrv:
image: 'banovo/docker-syncthing:stdiscosrv'
hostname: stdiscosrv
container_name: stdiscosrv
ports:
- "8443:8443"
volumes:
- '/var/docker/stdiscosrv/etc:/opt/stdiscosrv/etc'
- '/var/docker/stdiscosrv/var:/opt/stdiscosrv/var'
environment:
- CONTAINER_NAME=stdiscosrv
env_file:
- docker-compose.env
- docker-compose.local.env
command: 'stdiscosrv -cert /opt/stdiscosrv/etc/cert.pem -key /opt/stdiscosrv/etc/key.pem -limit-avg 10 -limit-cache 25000 -stats-file /opt/stdiscosrv/var/stats -db-dsn file:///opt/stdiscosrv/var/stdiscosrv.db'
restart: always
strelaysrv:
image: 'banovo/docker-syncthing:strelaysrv'
hostname: strelaysrv
container_name: strelaysrv
ports:
- "443:22067"
- "22070:22070"
volumes:
- '/var/docker/strelaysrv/etc:/opt/strelaysrv/etc'
environment:
- CONTAINER_NAME=strelaysrv
env_file:
- docker-compose.env
- docker-compose.local.env
command: 'strelaysrv -keys /opt/strelaysrv/etc -ext-address=":443" -listen=":22067" -status-srv=":22070" -pools="" -provided-by="Banovo GmbH"'
restart: always
syncthing:
image: 'banovo/docker-syncthing:syncthing'
hostname: syncthing
container_name: syncthing
ports:
- "8384:8384"
- "22000:22000"
- "21027:21027/udp"
volumes:
- '/var/docker/syncthing/etc:/opt/syncthing/etc'
- '/var/docker/syncthing/var:/opt/syncthing/var'
environment:
- CONTAINER_NAME=syncthing
env_file:
- docker-compose.env
- docker-compose.local.env
command: 'syncthing -home=/opt/syncthing/etc'
restart: always