-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathenvironment.env.example
More file actions
35 lines (29 loc) · 1.13 KB
/
environment.env.example
File metadata and controls
35 lines (29 loc) · 1.13 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
# Database Configuration Template
# Copy this file to environment.env and update with your actual values
# Azure SQL Database (Production)
DB_HOST=your-server.database.windows.net
DB_PORT=1433
DB_NAME=burgerbuilder
DB_USERNAME=your-username
DB_PASSWORD=your-password
DB_DRIVER=com.microsoft.sqlserver.jdbc.SQLServerDriver
# PostgreSQL Database (Docker/Development)
# Uncomment and modify these for local PostgreSQL development
# DB_HOST=localhost
# DB_PORT=5432
# DB_NAME=burgerbuilder
# DB_USERNAME=postgres
# DB_PASSWORD=YourStrong!Passw0rd
# DB_DRIVER=org.postgresql.Driver
# Spring Profile
# Options: docker (for PostgreSQL), default (for Azure SQL)
SPRING_PROFILES_ACTIVE=docker
# Server Configuration
SERVER_PORT=8080
# CORS Configuration
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
# Instructions:
# 1. Copy this file: cp environment.env.example environment.env
# 2. Update the values in environment.env with your actual database credentials
# 3. For Docker development, uncomment the PostgreSQL section and comment out Azure SQL
# 4. For production, use Azure SQL configuration and set SPRING_PROFILES_ACTIVE=default