-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
87 lines (82 loc) · 2.34 KB
/
docker-compose.yml
File metadata and controls
87 lines (82 loc) · 2.34 KB
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
84
85
86
87
version: '3'
networks:
web:
external: true
internal:
external: false
services:
traefik:
image: traefik:v2.2
restart: always
container_name: traefik
user: "${UID}:${GID}"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data/traefik/traefik.toml:/traefik.toml
- ./data/traefik/traefik_dynamic.toml:/traefik_dynamic.toml
- ./data/traefik/acme.json:/acme.json
ports:
- 80:80
- 443:443
networks:
- web
portainer:
image: portainer/portainer-ce:latest
restart: always
container_name: portainer
user: "${UID}:${GID}"
command: -H unix:///var/run/docker.sock
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data/portainer:/data
labels:
- traefik.http.routers.portainer.rule=Host(`management.domain.com`)
- traefik.http.routers.portainer.entrypoints=websecure
- traefik.http.services.portainer.loadbalancer.server.port=9000
- traefik.http.routers.portainer.tls=true
- traefik.http.routers.portainer.service=portainer
- traefik.http.routers.portainer.tls.certresolver=lets-encrypt
networks:
- internal
- web
depends_on:
- traefik
foundry:
image: direckthit/fvtt-docker:latest
restart: always
container_name: foundry
user: "${UID}:${GID}"
volumes:
- ./data/foundry:/data/foundryvtt
- ./foundry_download:/host
labels:
- traefik.http.routers.foundry.rule=Host(`foundry.domain.com`)
- traefik.http.routers.foundry.tls=true
- traefik.http.routers.foundry.tls.certresolver=lets-encrypt
- traefik.port=30000
networks:
- internal
- web
depends_on:
- traefik
filebrowser:
image: hurlenko/filebrowser
restart: always
container_name: filebrowser
user: "${UID}:${GID}"
volumes:
- ./data/foundry:/foundry
- ./data/filebrowser:/config
command: ["--root=/foundry", "--address=0.0.0.0", "--database=/config/filebrowser.db"]
environment:
- FB_BASEURL=/filebrowser
labels:
- traefik.http.routers.filebrowser.rule=Host(`filebrowser.domain.com`)
- traefik.http.routers.filebrowser.tls=true
- traefik.http.routers.filebrowser.tls.certresolver=lets-encrypt
- traefik.port=8080
networks:
- internal
- web
depends_on:
- traefik