-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (39 loc) · 2.35 KB
/
.env.example
File metadata and controls
50 lines (39 loc) · 2.35 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# =============================================================================
# Databases Stack — Ortam Değişkenleri (Şablon)
# =============================================================================
# Bu dosyayı .env olarak kopyalayın ve değerleri kendi ortamınıza göre
# doldurun. .env dosyası git'e commit ETMEYİN (.gitignore'da hariç tutulur).
# =============================================================================
# ─── Veritabanları için ortak parola (zorunlu) ────────────────────────
# MariaDB, PostgreSQL, MongoDB, Redis ve admin panellerinin tümü
# bu parolayı kullanır. Production'da 32+ karakter, rastgele üretilmiş.
# openssl rand -base64 32
DB_PASSWORD=change-me-with-openssl-rand-base64-32
# ─── Backup script (backup.sh) ────────────────────────────────────────
# Stack'in root dizini (compose ile aynı yer)
DB_BASE_DIR=/opt/databases
# Backup dizini (varsayılan: ${DB_BASE_DIR}/backups)
# BACKUP_DIR=/mnt/backups
# Log dizini (varsayılan: ${DB_BASE_DIR}/logs)
# LOG_DIR=/var/log/databases
# ─── App user (setup_db_users.sh) ─────────────────────────────────────
# Uygulamanın bağlanacağı kısıtlı kullanıcı (DROP yetkisi yok)
APP_USER=appuser
APP_PASSWORD=change-me-app-password
# ─── Setup script (sc.sh) ─────────────────────────────────────────────
# Nginx dashboard auth
NGINX_USER=root
# NGINX_PASS varsayılan olarak DB_PASSWORD'u kullanır
# ─── Google Drive sync (sync_remote.sh) ───────────────────────────────
# rclone remote adı (rclone config'den)
RCLONE_REMOTE_NAME=gdrive
# Google Drive'da yedek klasörü
GDRIVE_FOLDER=Database Backups
# Uzak retention (gün)
RETENTION_REMOTE_DAYS=30
# Sync aktif mi?
REMOTE_SYNC_ENABLED=true
# ─── Cassandra (opsiyonel) ─────────────────────────────────────────────
# Cassandra alt-stack'i kullanıyorsanız:
CASSANDRA_PASSWORD=change-me-cassandra-password
CASSANDRA_BASE_DIR=/opt/cassandra