-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
93 lines (85 loc) · 2.79 KB
/
Copy pathdocker-compose.yml
File metadata and controls
93 lines (85 loc) · 2.79 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
88
89
90
91
92
93
name: dev
services:
reverse-proxy:
# The official v3 Traefik docker image
image: traefik:v3.6
# Enables the web UI and tells Traefik to listen to docker
command:
- --api.insecure=true
- --providers.docker
- --entrypoints.web.address=:80
- --entrypoints.websecure.address=:443
- --entrypoints.web.http.redirections.entrypoint.to=websecure
- --entrypoints.web.http.redirections.entrypoint.scheme=https
- --certificatesresolvers.letsencrypt.acme.email=igor.nadj@gmail.com
- --certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json
- --certificatesresolvers.letsencrypt.acme.httpchallenge=true
- --certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web
- --log.level=INFO
ports:
# The HTTP port
- "80:80"
# The HTTPS port
- "443:443"
# The Web UI (enabled by --api.insecure=true)
- "8080:8080"
volumes:
# So that Traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock
# Persist Let's Encrypt certificates
- letsencrypt:/letsencrypt
anycal:
image: igornadj/anycal:main
# env_file defined in override docker-compose
labels:
# host rule in override docker-compose
- "traefik.http.routers.anycal.tls=true"
- "traefik.http.services.anycal.loadbalancer.server.port=3000"
volumes:
- anycal:/home/db
nextseason-web:
image: igornadj/nextseason
labels:
# host rule in override docker-compose
- "traefik.http.routers.nextseason-web.tls=true"
- "traefik.http.services.nextseason-web.loadbalancer.server.port=8080"
visual-processing-test:
image: igornadj/visual-processing-test
labels:
# host rule in override docker-compose
- "traefik.http.routers.visual-processing-test.tls=true"
- "traefik.http.services.visual-processing-test.loadbalancer.server.port=8080"
analytics:
image: arp242/goatcounter:latest
volumes:
- goatcounter-data:/home/goatcounter/goatcounter-data
labels:
# host rule in override docker-compose
- "traefik.http.routers.analytics.tls=true"
- "traefik.http.services.analytics.loadbalancer.server.port=8080"
# openvpn-as:
# image: openvpn/openvpn-as
# container_name: openvpn-as
# devices:
# - /dev/net/tun:/dev/net/tun
# cap_add:
# - NET_ADMIN
# - MKNOD
# ports:
# - 943:943 # web dashboard
# - 1443:443
# - 1194:1194/udp
# volumes:
# - openvpn:/openvpn
# restart: unless-stopped
whoami:
# A container that exposes an API to show its IP address
image: traefik/whoami
labels:
# host rule in override docker-compose
- "traefik.http.routers.whoami.tls=true"
volumes:
letsencrypt:
goatcounter-data:
anycal:
# openvpn: