Self-Hosting
Bugio auf deiner eigenen Infrastruktur betreiben – kostenlos, MIT-lizenziert.
Voraussetzungen
- Node.js 18+ oder Docker
- Optional: SMTP für E-Mail-Benachrichtigungen
Docker (empfohlen)
docker run -d \
--name bugio \
-p 3000:3000 \
-v /path/to/data:/app/data \
-e JWT_SECRET=your-secret-here \
-e MODE=selfhosted \
ghcr.io/yourusername/bugio:latest
npm / Node.js
git clone https://github.com/yourusername/bugio.git
cd bugio
npm install
cp .env.example .env
# .env bearbeiten
npm run build
npm start
.env Konfiguration
MODE=selfhosted
PORT=3000
JWT_SECRET=dein-geheimer-schlüssel
NODE_ENV=production
# Optional: SMTP
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=user@example.com
SMTP_PASS=password
SMTP_FROM=bugio@example.com
ADMIN_EMAIL=admin@example.com
nginx Reverse Proxy
server {
listen 80;
server_name bugio.example.com;
location / {
proxy_pass http://localhost:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Ersten Admin erstellen
Nach dem Start erreichst du die App unter
http://localhost:3000.
Registriere dich – der erste Nutzer wird automatisch zum Admin.
Updates
cd bugio
git pull
npm install
npm run build
npm start