-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-traefik.yml
83 lines (76 loc) · 2.32 KB
/
docker-compose-traefik.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: "3"
volumes:
drive:
driver: local
record:
driver: local
services:
guacd:
extends:
file: common-services.yml
service: guacd
networks:
- internal
server:
extends:
file: common-services.yml
service: server
networks:
- internal
- external
labels:
- "traefik.enable=true"
- "traefik.http.routers.server.rule=Host(`rdp-web.${DOMAIN}`) && PathPrefix(`/ws`)"
- "traefik.http.routers.server.priority=2"
- "traefik.http.routers.server.tls=true"
- "traefik.http.routers.server.tls.certresolver=le"
- "traefik.http.routers.server.entrypoints=https"
- "traefik.http.routers.server.service=server"
- "traefik.http.services.server.loadbalancer.server.port=8080"
webdav:
extends:
file: common-services.yml
service: webdav
networks:
- internal
- external
environment:
DOMAIN: files.${DOMAIN}
labels:
- "traefik.enable=true"
- "traefik.http.routers.webdav.rule=Host(`${DOMAIN}`) && PathPrefix(`/webdav`) "
- "traefik.http.routers.webdav.priority=2"
- "traefik.http.routers.webdav.tls=true)"
- "traefik.http.routers.webdav.tls.certresolver=le"
- "traefik.http.routers.webdav.entrypoints=https"
- "traefik.http.routers.webdav.service=webdav"
- "traefik.http.routers.webdav.middlewares=restricted@file"
- "traefik.http.services.webdav.loadbalancer.server.port=80"
client:
extends:
file: common-services.yml
service: client
networks:
- internal
- external
environment:
DOMAIN: rdp-web.${DOMAIN}
OIDC_CALLBACK_URL: https://rdp-web.${DOMAIN}/auth
URL_GUACD: wss://rdp-web.${DOMAIN}/ws
labels:
- "traefik.enable=true"
- "traefik.http.routers.client.rule=Host(`rdp-web.${DOMAIN}`)"
- "traefik.http.routers.client.priority=1"
- "traefik.http.routers.client.tls=true"
- "traefik.http.routers.client.tls.certresolver=le"
- "traefik.http.routers.client.entrypoints=https"
- "traefik.http.routers.client.service=client"
- "traefik.http.routers.client.middlewares=restricted@file"
- "traefik.http.services.client.loadbalancer.server.port=80"
networks:
internal:
external: true
name: internal
external:
external: true
name: external