forked from uniuuu/zotprime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env_example
More file actions
55 lines (41 loc) · 1.62 KB
/
.env_example
File metadata and controls
55 lines (41 loc) · 1.62 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
51
## Server IP address
# Automatically set by bin/install.sh
# Manual configuration:
# - Localhost: 127.0.0.1
# - LAN: Your server's LAN IP (e.g., 192.168.1.100)
# - Internet/NAT: Your public IP (e.g., 203.203.203.203)
SERVER_IP='127.0.0.1'
## SECRETS
# DB
MARIADB_ROOT_PASSWORD='' # Database root user password
MARIADB_DATABASE='zotprimeprod' # Database name
MARIADB_USER='' # Database user name i.e. 'zotprimeprod'
MARIADB_PASSWORD='' # Database user password
# MinIO
MINIOROOTUSER='' # Minio root user name
MINIOROOTPASSWORD='' # Minio root user password
# API Super User (for admin operations)
# Generate token: openssl rand -hex 32
# Generate hash: php -r "echo password_hash('YOUR_TOKEN_HERE', PASSWORD_BCRYPT);"
# Windows: Use Git Bash or WSL for openssl
API_SUPER_TOKEN=''
API_SUPER_TOKEN_HASH=''
# Auth Salt (for legacy password hashing)
# Generate: openssl rand -hex 16
AUTH_SALT=''
# Zotero clinet
# Initial Admin User
ADMIN_USERNAME='' # Zotero client initial admin user name i.e. 'admin'
ADMIN_PASSWORD='' # Zotero client initial admin user password
ADMIN_EMAIL='' # Zotero client initial admin user email i.e. 'admin@example.tld'
# Web Admin UI
# cd stack/admin/app
# php -r "echo password_hash('your_password', PASSWORD_BCRYPT, ['cost' => 12]) . PHP_EOL;"
WEBADMIN_USERNAME='' # Web admin panel user name
WEBADMIN_PASSWORD='' # bcrypt hash: php -r "echo password_hash('your_password', PASSWORD_BCRYPT);" e.g. '$2y$12$hTwdJQunSJJYEb/uA2ZH/e0wGdmR/LFtbIazPpaHh4gyixp6ouWW.'
APP_KEY='' # Admin Panel app key
# User Portal WebUI
# Session secret: Generate with `openssl rand -hex 32`
PORTAL_SESSION_SECRET=''
## Version
VER='v3.2.0'