Google OAUTH関連

This commit is contained in:
Akira
2026-02-19 14:50:31 +09:00
parent 29d2dbbb57
commit 793846e7f5
2 changed files with 6 additions and 0 deletions

2
.env
View File

@@ -7,6 +7,8 @@ DATABASE_URL=postgres://postgres:${DATABASE_PASSWORD}@db/windmill?sslmode=disabl
# WM_IMAGE=ghcr.io/windmill-labs/windmill-ee:main # WM_IMAGE=ghcr.io/windmill-labs/windmill-ee:main
WM_IMAGE=ghcr.io/windmill-labs/windmill:${WM_VERSION} WM_IMAGE=ghcr.io/windmill-labs/windmill:${WM_VERSION}
GOOGLE_OAUTH_CLIENT_ID=976427934311-6oj0l38ptn6ui2hoj37qbs137lcnu6kg.apps.googleusercontent.com
GOOGLE_OAUTH_CLIENT_SECRET=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
# To use another port than :80, setup the Caddyfile and the caddy section of the docker-compose to your needs: https://caddyserver.com/docs/getting-started # To use another port than :80, setup the Caddyfile and the caddy section of the docker-compose to your needs: https://caddyserver.com/docs/getting-started
# To have caddy take care of automatic TLS # To have caddy take care of automatic TLS

View File

@@ -47,6 +47,10 @@ services:
- DATABASE_URL=${DATABASE_URL} - DATABASE_URL=${DATABASE_URL}
- MODE=server - MODE=server
- BASE_URL=https://windmill.keinafarm.net - BASE_URL=https://windmill.keinafarm.net
- OAUTH_REDIRECT_BASE_URL=https://windmill.keinafarm.net
- GOOGLE_OAUTH_ENABLED=true
- GOOGLE_OAUTH_CLIENT_ID=${GOOGLE_OAUTH_CLIENT_ID}
- GOOGLE_OAUTH_CLIENT_SECRET=${GOOGLE_OAUTH_CLIENT_SECRET}
depends_on: depends_on:
db: db:
condition: service_healthy condition: service_healthy