-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 1.21 KB
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (37 loc) · 1.21 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
services:
traefik:
image: traefik:v3.3
container_name: traefik
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./traefik/traefik.yml:/etc/traefik/traefik.yml:ro
- ./traefik/dynamic.yml:/etc/traefik/dynamic.yml:ro
- ./letsencrypt:/letsencrypt
oauth2-proxy:
image: quay.io/oauth2-proxy/oauth2-proxy:v7.8.0
container_name: oauth2-proxy
restart: unless-stopped
command:
- --provider=github
- --client-id=Ov23lihrxDOXqSAgeSCm
- --client-secret=ab5832de636ae88463ccb3f51e733e06be5a7cfd
- --redirect-url=https://static.253.115.233.167.clients.your-server.de/oauth2/callback
- --cookie-secret=atPvaK5wb8O0bdJgUYZXBHqTMbBad8IL6kndSuLGffI=
- --cookie-secure=true
- --cookie-domain=static.253.115.233.167.clients.your-server.de
- --upstream=http://static:80
- --http-address=0.0.0.0:4180
- --email-domain=*
- --set-xauthrequest
- --pass-user-headers
- --pass-host-header
static:
image: nginx:alpine
container_name: static
restart: unless-stopped
volumes:
- ./static:/usr/share/nginx/html:ro
- ./static/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro