Commit inicial: NetBox con PostgreSQL 18 y Redis, Traefik/NPM, sin standalone

This commit is contained in:
2025-12-04 10:11:16 +01:00
commit 779e9aa213
5 changed files with 704 additions and 0 deletions

22
.env.example Normal file
View File

@@ -0,0 +1,22 @@
# === CONTRASEÑAS REQUERIDAS ===
# Generar DB_PASSWORD con: openssl rand -base64 32
DB_PASSWORD=''
# Generar REDIS_PASSWORD con: openssl rand -base64 32
REDIS_PASSWORD=''
# Usuario administrador de NetBox
SUPERUSER_EMAIL=admin@example.com
SUPERUSER_PASSWORD=''
# === CONFIGURACIÓN OPCIONAL ===
# Base de datos (valores por defecto)
DB_NAME=netbox
DB_USER=netbox
# Host permitido (dominio de NetBox)
ALLOWED_HOST=*
# === SOLO PARA TRAEFIK ===
# Dominio para certificado SSL (no necesario con NPM)
DOMAIN_HOST=netbox.example.com