| 1 | # ============================================
|
|---|
| 2 | # REQUIRED FOR STARTUP - Database Connection
|
|---|
| 3 | # ============================================
|
|---|
| 4 | # PostgreSQL connection parameters
|
|---|
| 5 | # Make sure your SSH tunnel is running (tunnel_scripta.sh) before starting the app
|
|---|
| 6 | SPRING_DATASOURCE_URL=jdbc:postgresql://localhost:9999/db_202526z_va_prj_trekr
|
|---|
| 7 | SPRING_DATASOURCE_USERNAME=db_202526z_va_prj_trekr_owner
|
|---|
| 8 | SPRING_DATASOURCE_PASSWORD=39ee816617c3
|
|---|
| 9 |
|
|---|
| 10 | # ============================================
|
|---|
| 11 | # REQUIRED FOR STARTUP - JWT Secret Key
|
|---|
| 12 | # ============================================
|
|---|
| 13 | # Used for signing/verifying JWT tokens in authentication
|
|---|
| 14 | # Generate a secure random string (at least 256 bits/32 characters)
|
|---|
| 15 | # For development, you can use this temporary value, but CHANGE IT in production!
|
|---|
| 16 | # To generate: openssl rand -base64 32
|
|---|
| 17 | JWT_CONFIG_SECRET=dev-temporary-secret-key-change-in-production-min-32-chars
|
|---|
| 18 |
|
|---|
| 19 | # ============================================
|
|---|
| 20 | # OPTIONAL - AWS S3 (File Storage)
|
|---|
| 21 | # ============================================
|
|---|
| 22 | # Only needed if you're storing files/images in AWS S3
|
|---|
| 23 | # Get these from: AWS Console -> IAM -> Users -> Create Access Key
|
|---|
| 24 | # Or: AWS Console -> S3 -> Your Bucket -> Properties
|
|---|
| 25 | AWS_S3_REGION=
|
|---|
| 26 | AWS_S3_BUCKET_NAME=
|
|---|
| 27 | AWS_S3_ACCESS_KEY=
|
|---|
| 28 | AWS_S3_SECRET_KEY=
|
|---|
| 29 |
|
|---|
| 30 | # ============================================
|
|---|
| 31 | # OPTIONAL - Email Service (SMTP)
|
|---|
| 32 | # ============================================
|
|---|
| 33 | # Only needed if you're sending emails (password reset, notifications, etc.)
|
|---|
| 34 | # Options:
|
|---|
| 35 | # - Gmail: smtp.gmail.com, port 587
|
|---|
| 36 | # - Outlook: smtp-mail.outlook.com, port 587
|
|---|
| 37 | # - SendGrid: smtp.sendgrid.net, port 587
|
|---|
| 38 | # - Mailtrap (testing): smtp.mailtrap.io, port 2525
|
|---|
| 39 | EMAIL_HOST=
|
|---|
| 40 | EMAIL_PORT=
|
|---|
| 41 | EMAIL_USERNAME=
|
|---|
| 42 | EMAIL_PASSWORD=
|
|---|
| 43 |
|
|---|
| 44 | # ============================================
|
|---|
| 45 | # OPTIONAL - Google OAuth (Social Login)
|
|---|
| 46 | # ============================================
|
|---|
| 47 | # Only needed if you want users to sign in with Google
|
|---|
| 48 | # Get these from: https://console.cloud.google.com/
|
|---|
| 49 | # 1. Create a project
|
|---|
| 50 | # 2. Enable Google+ API
|
|---|
| 51 | # 3. Create OAuth 2.0 credentials
|
|---|
| 52 | # 4. Add authorized redirect URI: http://localhost:8080/login/oauth2/code/google
|
|---|
| 53 | GOOGLE_CLIENT_ID=
|
|---|
| 54 | GOOGLE_CLIENT_SECRET=
|
|---|