-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (26 loc) · 1.46 KB
/
.env.example
File metadata and controls
32 lines (26 loc) · 1.46 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
# =============================================================================
# Nextcloud Self-Hosted — Environment Variables
# Copy this file to .env and fill in your values.
# Generate strong passwords with: openssl rand -base64 16
# =============================================================================
# ─── Storage ──────────────────────────────────────────────────────────────────
# Absolute path to the directory where Nextcloud data will be stored.
DATA_PATH=/path/to/your/data
# ─── Single Instance (docker-compose.yml) ─────────────────────────────────────
PORT=8080
ADMIN_USER=admin
ADMIN_PASSWORD=changeme_admin
MYSQL_ROOT_PASSWORD=changeme_root
MYSQL_PASSWORD=changeme_db
# ─── Multi-Tenant (docker-compose.multi.yml) ──────────────────────────────────
# Tenant names must be lowercase with no spaces — used as DB names & container names.
TENANT_A_NAME=company-a
TENANT_A_PORT=9090
TENANT_A_ADMIN_PASSWORD=changeme_a_admin
TENANT_A_MYSQL_ROOT_PASSWORD=changeme_a_root
TENANT_A_MYSQL_PASSWORD=changeme_a_db
TENANT_B_NAME=company-b
TENANT_B_PORT=9091
TENANT_B_ADMIN_PASSWORD=changeme_b_admin
TENANT_B_MYSQL_ROOT_PASSWORD=changeme_b_root
TENANT_B_MYSQL_PASSWORD=changeme_b_db