You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
# .env.example — Template konfigurasi (AMAN di-commit) |
|
# Copy ke .env di root project yang sama (JANGAN commit .env) |
|
# Semua URL/host/domain aplikasi HARUS dibaca dari variabel ini (no hardcode di kode) |
|
|
|
# --- Environment --- |
|
APP_ENV=development |
|
# development | staging | production |
|
|
|
# --- Public URLs (ubah saat migrasi domain) --- |
|
APP_URL=https://app-dev.example.com |
|
API_BASE_URL=https://api-dev.example.com |
|
# API_BASE_URL=http://10.0.0.1:8055 |
|
|
|
# --- Auth / SSO (jika ada) --- |
|
# AUTH_ISSUER_URL= |
|
# OIDC_REDIRECT_URI= |
|
|
|
# --- Database (host saja di docs; credential di .env lokal) --- |
|
DB_HOST=127.0.0.1 |
|
DB_PORT=5432 |
|
DB_NAME=myapp |
|
DB_USER= |
|
DB_PASSWORD= |
|
|
|
# --- Redis / cache (opsional) --- |
|
# REDIS_URL=redis://127.0.0.1:6379/0 |
|
|
|
# --- Internal service (monorepo) --- |
|
# LDAP_API_URL= |
|
# AGENT_API_URL= |
|
|
|
# --- Android / build-time (alternatif jika tidak pakai .env runtime) --- |
|
# AGENT_API_BASE_URL=https://agent-dev.example.com |
|
|
|
# --- Logging / debug --- |
|
# LOG_LEVEL=info |
|
# DEBUG=false |
|
|
|
# Dokumentasi variabel: docs/system-requirements.md |
|
# Migrasi server/domain: docs/guide/migration.md |
|
# Inventori host: docs/server.md |