Files
mixmaker/.env.example
lemintare c3624376b0
Some checks failed
CI / backend (push) Has been cancelled
CI / frontend (push) Has been cancelled
CI / compose (push) Has been cancelled
Add Discord guild ID configuration and enhance event announcement options
This commit introduces the `DISCORD_GUILD_ID` environment variable to the configuration files, allowing for better integration with Discord for role synchronization. The event announcement functionality has been updated to include an option for the `@everyone` mention, which can be toggled during event creation. The backend logic has been modified to handle this new option, and corresponding updates have been made to the frontend to allow users to control the mention behavior. Additionally, tests have been added to ensure the correct functionality of these features.
2026-07-19 11:34:11 +03:00

29 lines
669 B
Plaintext

# Application
APP_ENV=development
HTTP_ADDR=:8080
PUBLIC_URL=http://localhost:5173
FRONTEND_URL=http://localhost:5173
LOG_LEVEL=info
# PostgreSQL
POSTGRES_DB=mixmaker
POSTGRES_USER=mixmaker
POSTGRES_PASSWORD=mixmaker
DATABASE_URL=postgres://mixmaker:mixmaker@localhost:5432/mixmaker?sslmode=disable
# Authentication
SESSION_TTL=168h
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
DISCORD_REDIRECT_URL=http://localhost:5173/api/auth/discord/callback
ADMIN_DISCORD_IDS=
# Discord event announcements (optional)
DISCORD_BOT_TOKEN=
DISCORD_ANNOUNCEMENT_CHANNEL_ID=
DISCORD_ANNOUNCEMENT_LOCALE=ru
DISCORD_GUILD_ID=
# Browser-facing build configuration
VITE_API_BASE_URL=/api