Initialize project with basic structure, including Docker configuration, backend and frontend setup, environment configuration, and essential files for development.
This commit is contained in:
22
.env.example
Normal file
22
.env.example
Normal file
@@ -0,0 +1,22 @@
|
||||
# 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=
|
||||
|
||||
# Browser-facing build configuration
|
||||
VITE_API_BASE_URL=/api
|
||||
Reference in New Issue
Block a user