Self-Hosting

Run Honeypot on your own infrastructure.

Quick options

OptionRailway template
Best forFastest setup
NotesManaged hosting with a deploy button.
OptionDocker Compose
Best forSelf-hosted servers
NotesStable restarts with a container.
OptionBun start
Best forLocal testing
NotesManual process; no auto-start for persistent deployments.

Official image

Docker uses ghcr.io/riskymh/honeypot:latest.

Railway

Use the public template to deploy quickly.

Deploy on Railway

Docker Compose

docker-compose.yml
services:
   honeypot:
     image: ghcr.io/riskymh/honeypot:latest
     restart: unless-stopped
     init: true
     environment:
       DISCORD_TOKEN: ${DISCORD_TOKEN:?REQUIRED}
       DATABASE_URL: ${DATABASE_URL:-sqlite:///data/honeypot.sqlite}
       REDIS_URL: ${REDIS_URL} # optional
     volumes:
        - data:/data
volumes:
  data:

Run docker compose up -d and check logs.

Bun (local)

Terminal
git clone https://github.com/riskymh/honeypot.git
cd honeypot
bun install
bun start

Set DISCORD_TOKEN before starting.

Environment variables

VariableDISCORD_TOKEN
RequiredYes
PurposeDiscord bot token.
VariableDATABASE_URL
RequiredNo
PurposeSQLite or Postgres connection string. Defaults to sqlite file.
VariableREDIS_URL
RequiredNo
PurposeNeeded for sharded/websocket proxy mode.
VariablePORT
RequiredNo
PurposePort for stats API when sharded.