Skip to main content

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, unless ADMIN_EMAIL and ADMIN_PASSWORD are 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.

VariableDefaultDescription
ADMIN_EMAIL[email protected]Email of the admin account created on first start
ADMIN_PASSWORDchangeme123Initial password of that account (at least 8 characters). It must be changed at the first login
TRUST_PROXYautoWhich 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_LEVELinfoLog 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:

SettingLocationDescription
General (app URL, retention)Settings → GeneralCore server settings
Storage (local / S3)Settings → StorageUpload backend
SMTPSettings → SMTPEmail sender configuration
Team notificationsNotifications → GeneralDefault recipients for team-facing emails
Reporter notificationsNotifications → ReporterConfirmation, status, priority, assignment emails
Email templatesNotifications → Email TemplatesCustomize reporter and team email bodies
EU Privacy ModeSettings → PrivacyActivity trail and data minimization
API tokens (EE)Settings → APIPersonal API tokens
Webhooks (EE)Settings → WebhooksOutgoing report event webhooks
HTTPS, rate limiting, sessions, invitationsSecurity → GeneralRequest handling and sign-in sessions
Two-factor policySecurity → Two-FactorWho must use a second factor
Password policySecurity → Password PolicyStrength rules for new passwords
Domain whitelistProjects → Select project → Settings → WhitelistsAllowed widget domains (per project)
Widget appearanceWidget → Button / Dialog / ScreenshotButton style, colors, capture settings
Screen recordingWidget → RecordingRecording, video quality, limits, microphone
Widget languageWidget → LanguageAuto / Manual locale
BrandingBrandingLogo, colors, favicon
User managementUsersAdd/manage users
LicenseLicenseEnterprise license key

Project-Level Settings​

Each project can have its own configuration:

SettingLocationDescription
Whitelisted domainsProject → SettingsAllowed widget domains
GitHub integrationProject → IntegrationsIssue 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.

tip

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 /data volume
  • 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.

We use cookies for analytics to improve our website. More information in our Privacy Policy.