Add multi calendar support and protected web app
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
services:
|
||||
calendar-web:
|
||||
build:
|
||||
context: .
|
||||
container_name: calendar-web
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- calendar-web
|
||||
|
||||
calendar-oauth2-proxy:
|
||||
image: quay.io/oauth2-proxy/oauth2-proxy:v7.8.1
|
||||
container_name: calendar-oauth2-proxy
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
command:
|
||||
- --provider=google
|
||||
- --http-address=0.0.0.0:4180
|
||||
- --upstream=http://calendar-web:80
|
||||
- --redirect-url=https://calendar.a-web.hu/oauth2/callback
|
||||
- --email-domain=*
|
||||
- --cookie-secure=true
|
||||
- --cookie-samesite=lax
|
||||
- --set-xauthrequest=true
|
||||
- --pass-access-token=true
|
||||
- --pass-authorization-header=true
|
||||
- --skip-provider-button=true
|
||||
ports:
|
||||
- "127.0.0.1:5090:4180"
|
||||
depends_on:
|
||||
- calendar-web
|
||||
networks:
|
||||
- calendar-web
|
||||
|
||||
networks:
|
||||
calendar-web:
|
||||
name: calendar-web
|
||||
|
||||
Reference in New Issue
Block a user