chore: configure Docker to deploy project using environment-based properties

This commit is contained in:
2025-09-20 10:21:52 +02:00
parent 8b2795d518
commit 2959c68bf3
5 changed files with 78 additions and 41 deletions

9
.env.example Normal file
View File

@@ -0,0 +1,9 @@
SPRING_PROFILES_ACTIVE=dev
APP_ALLOWED_ORIGINS='http://127.0.0.1:3000, http://localhost:3000'
DB_NAME=EXAMPLE_DB
DB_USER=EXAMPLE
DB_PASSWORD=SECRET
DB_HOST=127.0.0.1
DB_PORT=5432