initial commit

This commit is contained in:
Daniel Noulet 2026-10-07 15:21:47 +02:00
commit e7987e88a7
70 changed files with 13661 additions and 0 deletions

46
.env.production.example Normal file
View file

@ -0,0 +1,46 @@
# Production environment variables for go-first
# Copy to .env.production and fill in values
# Server
SERVER_MODE=release
SERVER_HOST=0.0.0.0
SERVER_PORT=8080
# Database
DATABASE_HOST=postgres
DATABASE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASSWORD=CHANGE_ME_SECURE_PASSWORD
DATABASE_NAME=go_first
DATABASE_SSL_MODE=disable
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# JWT
JWT_SECRET=CHANGE_ME_VERY_LONG_RANDOM_SECRET_KEY_AT_LEAST_32_CHARS
JWT_EXPIRES_IN=24
JWT_REFRESH_EXPIRES_IN=168
# CORS
CORS_ALLOWED_ORIGINS=https://www.urpi.be,https://urpi.be
# Logging
LOGGING_LEVEL=info
LOGGING_FORMAT=json
LOGGING_OUTPUT=stdout
# Email (SMTP)
EMAIL_SMTP_HOST=smtp.gmail.com
EMAIL_SMTP_PORT=587
EMAIL_USERNAME=your-email@gmail.com
EMAIL_PASSWORD=your-app-password
EMAIL_FROM_ADDRESS=noreply@urpi.be
EMAIL_FROM_NAME=URPI
# Frontend
FRONTEND_BUILD_PATH=./web/dist
FRONTEND_SPA_FALLBACK=true