-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
38 lines (29 loc) · 1.53 KB
/
Copy path.env.example
File metadata and controls
38 lines (29 loc) · 1.53 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
# ── NEXUS Container Platform ─────────────────────────────────────────────────
# Copy this file to .env and fill in your values
# cp .env.example .env
# Admin credentials (used on first run only — managed via UI afterwards)
ADMIN_USER=admin
ADMIN_PASS=admin123
# JWT secret — CHANGE THIS to a long random string!
# Generate one with: openssl rand -hex 32
JWT_SECRET=changeme_please_use_a_long_random_string
# Port (default 3001 inside container, mapped in docker-compose)
PORT=3001
# Data directory for persistent storage (users, settings)
DATA_DIR=/data
# ── NEXUS Hub integration (all optional — Hub mode is OFF when NEXUS_HUB_URL is empty) ──
# Leave NEXUS_HUB_URL empty to run NEXUS standalone (recommended for most users).
# Set it only if you are running NEXUS Hub and want centralised login + SSO.
NEXUS_HUB_URL=
# Shared API key — must match NEXUS_API_KEY in nexus-hub's .env
# Required only when NEXUS_HUB_URL is set.
NEXUS_API_KEY=
# Internal URL Hub uses to poll /health (Docker network address of this container)
# Required only when NEXUS_HUB_URL is set.
NEXUS_URL=http://nexus:3001
# Public URL shown in Hub dashboard (browser-accessible address of this NEXUS instance)
# Required only when NEXUS_HUB_URL is set.
NEXUS_PUBLIC_URL=http://your-server:9090
# Public URL of Hub shown in NEXUS login page (browser-accessible address of Hub)
# Required only when NEXUS_HUB_URL is set.
NEXUS_PUBLIC_HUB_URL=http://your-server:9095