Server Configuration
BugPin is designed for simplicity. Server settings are configured through the Admin Console after installation, and typical deployments need no environment variables. This page covers the default configuration, the optional environment variables, data storage layout, the health check endpoint, and performance tuning options.
Default Setup
BugPin works out of the box with sensible defaults:
- Admin account:
[email protected]/changeme123, unlessADMIN_EMAILandADMIN_PASSWORDare set - Session key: Auto-generated on first run
- Port: 7300
- Database: SQLite in data volume
The initial admin password works only once. Right after the first login, BugPin asks for a new password and blocks the Admin Console and the API until it is set. Instances that still use the initial password after an update ask for the change at the next login.
Environment Variables
All variables are optional.
| Variable | Default | Description |
|---|---|---|
ADMIN_EMAIL | [email protected] | Email of the admin account created on first start |
ADMIN_PASSWORD | changeme123 | Initial password of that account (at least 8 characters). It must be changed at the first login |
TRUST_PROXY | auto | Which proxies may set X-Forwarded-For: auto, true or false. See Reverse Proxy Setup |
DATA_DIR | /data (Docker) | Directory for the database, uploads and the generated .secret key |
LOG_LEVEL | info | Log verbosity. See Logging |
ADMIN_EMAIL and ADMIN_PASSWORD are read only when no users exist yet. Changing them later does not change an existing account. BugPin refuses to start when ADMIN_EMAIL is not a valid email address, ADMIN_PASSWORD is shorter than 8 characters, or TRUST_PROXY has an unknown value.
The quick-start docker-compose.yml sets TRUST_PROXY=false, because it publishes port 7300 directly. Behind a reverse proxy, set TRUST_PROXY=auto (the default when the variable is unset) or true.
Admin Console Navigation
The Admin Console sidebar is split into three groups:
- Workspace — Dashboard, Reports, Projects
- Widget — Button, Dialog, Screenshot, Recording, Language (instance-wide widget defaults)
- Console — Settings, Notifications, Users, Security, Branding, License
URLs are flat and predictable: /settings, /notifications, /users, /security, /branding, /license, /button, /dialog, /screenshot, /recording, /language.
Admin Console Settings
All configuration is done in the Admin Console:
| Setting | Location | Description |
|---|---|---|
| General (app URL, retention) | Settings → General | Core server settings |
| Storage (local / S3) | Settings → Storage | Upload backend |
| SMTP | Settings → SMTP | Email sender configuration |
| Team notifications | Notifications → General | Default recipients for team-facing emails |
| Reporter notifications | Notifications → Reporter | Confirmation, status, priority, assignment emails |
| Email templates | Notifications → Email Templates | Customize reporter and team email bodies |
| EU Privacy Mode | Settings → Privacy | Activity trail and data minimization |
| API tokens (EE) | Settings → API | Personal API tokens |
| Webhooks (EE) | Settings → Webhooks | Outgoing report event webhooks |
| HTTPS, rate limiting, sessions, invitations | Security → General | Request handling and sign-in sessions |
| Two-factor policy | Security → Two-Factor | Who must use a second factor |
| Password policy | Security → Password Policy | Strength rules for new passwords |
| Domain whitelist | Projects → Select project → Settings → Whitelists | Allowed widget domains (per project) |
| Widget appearance | Widget → Button / Dialog / Screenshot | Button style, colors, capture settings |
| Screen recording | Widget → Recording | Recording, video quality, limits, microphone |
| Widget language | Widget → Language | Auto / Manual locale |
| Branding | Branding | Logo, colors, favicon |
| User management | Users | Add/manage users |
| License | License | Enterprise license key |
Project-Level Settings
Each project can have its own configuration:
| Setting | Location | Description |
|---|---|---|
| Whitelisted domains | Project → Settings | Allowed widget domains |
| GitHub integration | Project → Integrations | Issue sync |
Data Storage
BugPin stores all data in the /data directory inside the container (Docker) or ./data locally (Bun).
Docker
Mount a volume to persist data:
services:
bugpin:
image: registry.arantic.cloud/bugpin/bugpin:latest
ports:
- "7300:7300"
volumes:
- ./data:/data
Systemd / Bun
Data is stored in ./data relative to where you run BugPin.
Data Directory Structure
The data directory contains:
data/
├── bugpin.db # SQLite database
├── .secret # Auto-generated key that encrypts authenticator app secrets
└── uploads/
├── screenshots/ # Bug report screenshots
├── attachments/ # File attachments
└── branding/ # Custom logos/icons
Back up this directory regularly. See Backup and Restore.
For most deployments, just use the default docker-compose.yml and configure everything in the Admin Console after installation.
Health Checks
The BugPin server provides a health check endpoint at /health for Docker, load balancer, and uptime monitoring checks. See Health Checks.
Performance Tuning
Widget Script Caching
The widget script has a 1-hour cache:
Cache-Control: public, max-age=3600
This reduces server load while allowing updates to propagate within an hour.
Database Location
For better performance, consider:
- Using SSD storage for the
/datavolume - Regular database backups
- Monitoring database size
Resource Limits
Recommended Docker resource limits:
services:
bugpin:
deploy:
resources:
limits:
cpus: "1.0"
memory: 512M
reservations:
cpus: "0.5"
memory: 256M
Monitoring
See Monitoring & Logging for detailed monitoring configuration.