Add multi calendar support and protected web app

This commit is contained in:
zsolt
2026-08-13 14:49:00 +02:00
parent 17e83c032a
commit a6403bf9bb
51 changed files with 220126 additions and 31 deletions
+38
View File
@@ -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