-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (38 loc) · 1.22 KB
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (38 loc) · 1.22 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:
oauth2-proxy:
container_name: oauth
image: quay.io/oauth2-proxy/oauth2-proxy:latest
restart: unless-stopped
environment:
OAUTH2_PROXY_PROVIDER: google
OAUTH2_PROXY_CLIENT_ID: ${GOOGLE_CLIENT_ID}
OAUTH2_PROXY_CLIENT_SECRET: ${GOOGLE_CLIENT_SECRET}
OAUTH2_PROXY_COOKIE_SECRET: ${COOKIE_SECRET}
OAUTH2_PROXY_EMAIL_DOMAINS: "*"
OAUTH2_PROXY_CUSTOM_TEMPLATES_DIR: /etc/oauth2-proxy/templates
OAUTH2_PROXY_UPSTREAMS: http://clutter-app:4000
OAUTH2_PROXY_HTTP_ADDRESS: 0.0.0.0:4180
OAUTH2_PROXY_REDIRECT_URL: https://clutter.sirkorgo.com/oauth2/callback
OAUTH2_PROXY_SET_XAUTHREQUEST: "true"
OAUTH2_PROXY_PASS_USER_HEADERS: "true"
OAUTH2_PROXY_SKIP_AUTH_ROUTES: "^/src/"
volumes:
- ./oauth2/authenticated-emails.txt:/etc/authenticated-emails.txt
- ./oauth2/templates:/etc/oauth2-proxy/templates
ports:
- "4180:4180"
depends_on:
- clutter-app
clutter-app:
container_name: clutter
env_file:
- .env
build: .
restart: unless-stopped
volumes:
- ./frontend:/app/frontend
- ./userdata:/app/userdata
- ./main.js:/app/main.js
- ./utils:/app/utils
expose:
- "4000"