-
Notifications
You must be signed in to change notification settings - Fork 121
Expand file tree
/
Copy pathdocker-compose-ssl.yml
More file actions
43 lines (40 loc) · 909 Bytes
/
Copy pathdocker-compose-ssl.yml
File metadata and controls
43 lines (40 loc) · 909 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
services:
caddy:
image: caddy
container_name: filesync-caddy
ports:
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- filesync:/data
depends_on:
- filesync
restart: unless-stopped
filesync:
image: poliuscorp/filesync
container_name: filesync-app
environment:
- SECRET_KEY=<SECRET_KEY>
depends_on:
- coturn
restart: unless-stopped
coturn:
image: coturn/coturn:alpine
container_name: filesync-coturn
command:
- --fingerprint
- --use-auth-secret
- --no-multicast-peers
- --no-cli
- --realm=filesync.app
- --static-auth-secret=<SECRET_KEY>
- --listening-port=3478
- --min-port=50000
- --max-port=50100
ports:
- "3478:3478/tcp"
- "3478:3478/udp"
- "50000-50100:50000-50100/udp"
restart: unless-stopped
volumes:
filesync: