postgres service for external use

This commit is contained in:
2025-04-19 20:00:57 +03:00
commit 7d1acd8469
17 changed files with 1093 additions and 0 deletions

13
.env.example Normal file
View File

@@ -0,0 +1,13 @@
# PostgreSQL Configuration
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres_secure_password
POSTGRES_DB=postgres
# Backup Configuration
BACKUP_DIR=./backups
BACKUP_RETENTION_DAYS=7
# Resource Limits (for container configuration)
# Recommended: 2 CPU cores, 4GB RAM minimum
POSTGRES_CPU_LIMIT=2
POSTGRES_MEMORY_LIMIT=4G