-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (39 loc) · 1.37 KB
/
Copy path.env.example
File metadata and controls
48 lines (39 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# ============================================================================
# DEVELOPMENT ENVIRONMENT VARIABLES
# Copy this file to .env and adjust values as needed
# ============================================================================
# PostgreSQL Database Configuration
POSTGRES_DB=nachweise_db
POSTGRES_USER=nachweise_user
POSTGRES_PASSWORD=dev_password_change_me
# Spring Boot Backend Configuration
SPRING_PROFILES_ACTIVE=dev
SPRING_DATASOURCE_URL=jdbc:postgresql://db:5432/nachweise_db
SPRING_DATASOURCE_USERNAME=nachweise_user
SPRING_DATASOURCE_PASSWORD=dev_password_change_me
# Server Port
SERVER_PORT=8088
BACKEND_PORT=8088
# JWT Configuration (IMPORTANT: Change in production!)
JWT_SECRET=dev-secret-key-min-32-characters-long-change-me
JWT_EXPIRATION=86400000
# Frontend Configuration
FRONTEND_PORT=3000
NEXT_PUBLIC_API_URL=http://localhost:8088
NODE_ENV=development
# Mail Configuration (Optional - for password reset feature)
SPRING_MAIL_HOST=smtp.gmail.com
SPRING_MAIL_PORT=587
SPRING_MAIL_USERNAME=your-email@gmail.com
SPRING_MAIL_PASSWORD=your-app-password
SPRING_MAIL_SMTP_AUTH=true
SPRING_MAIL_STARTTLS_ENABLE=true
SPRING_MAIL_STARTTLS_REQUIRED=true
# CORS and Frontend URL
APP_FRONTEND_URL=http://localhost:3000
APP_FRONTEND_ORIGINS=http://localhost:3000
# JVM Options
JAVA_OPTS=-Xmx512m -Xms256m
# Logging
LOGGING_LEVEL_ROOT=INFO
LOGGING_LEVEL_SPRINGFRAMEWORK=INFO