-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathenvironment.env
More file actions
28 lines (23 loc) · 800 Bytes
/
environment.env
File metadata and controls
28 lines (23 loc) · 800 Bytes
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
# Database Configuration
# Choose database type: 'azure' for Azure SQL, 'docker' for PostgreSQL
# 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=database
# DB_PORT=5432
# DB_NAME=burgerbuilder
# DB_USERNAME=postgres
# DB_PASSWORD=YourStrong!Passw0rd
# DB_DRIVER=org.postgresql.Driver
# Spring Profile - Set to 'azure' for Azure SQL, 'docker' for PostgreSQL
SPRING_PROFILES_ACTIVE=azure
# Server Configuration
SERVER_PORT=8080
# CORS Configuration
CORS_ALLOWED_ORIGINS=http://localhost:8080,http://localhost:5173