mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 08:31:55 +08:00
- Replace password-based login with OAuth authentication - Add OAuth login and callback handlers - Support user whitelist via environment variables - Update login page to use OAuth flow - Remove legacy metrics-related authentication configuration - Enhance token management with username tracking
13 lines
299 B
YAML
13 lines
299 B
YAML
services:
|
|
proxy:
|
|
image: woodchen/proxy-go:latest
|
|
container_name: proxy-go
|
|
ports:
|
|
- "3336:3336"
|
|
volumes:
|
|
- ./data:/app/data
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
- OAUTH_CLIENT_ID=your_client_id
|
|
- OAUTH_ALLOWED_USERS=user1,user2,user3
|
|
restart: always |