Files
hnh-map/.env.example
Nikolay Tatarinov 2c7bf48719 Implement OAuth login functionality and enhance documentation
- Added support for Google OAuth login, including new API endpoints for OAuth providers and callbacks.
- Updated user authentication logic to handle OAuth-only users.
- Enhanced README.md and deployment documentation with OAuth setup instructions.
- Modified frontend components to include OAuth login options and improved error handling.
- Updated configuration files to include new environment variables for OAuth integration.
2026-02-25 00:26:38 +03:00

13 lines
497 B
Plaintext

# Backend (Go)
# HNHMAP_PORT=8080
# HNHMAP_BOOTSTRAP_PASSWORD= # Set once for first run: login as admin with this password to create the first admin user (then unset or leave empty)
# Grids directory (default: grids); in Docker often /map
# HNHMAP_GRIDS=grids
# OAuth (Google) — optional
# HNHMAP_BASE_URL=https://map.example.com
# HNHMAP_OAUTH_GOOGLE_CLIENT_ID=
# HNHMAP_OAUTH_GOOGLE_CLIENT_SECRET=
# Frontend (Nuxt dev) — used in docker-compose
# NUXT_PUBLIC_API_BASE=/map/api