Automatically claims your daily Honeygain lucky pot reward and displays your earnings stats. Built with Bun and runs in a hardened Docker container.
# From Docker Hub
docker pull madereddy/honeypot:latest
# From GitHub Container Registry
docker pull ghcr.io/madereddy/honeypot:latest
docker run \
--read-only \
--tmpfs /tmp \
--cap-drop ALL \
--security-opt no-new-privileges \
--memory 256m \
-e [email protected] \
-e PASSWORD=yourpassword \
madereddy/honeypot:latest
| Variable | Required | Description |
|---|---|---|
EMAIL | ✅ Yes | Your Honeygain account email |
PASSWORD | ✅ Yes | Your Honeygain account password |
⚠️ Never hard-code credentials in your
docker-compose.yml. Use a.envfile — it is already in.gitignore.
Create a .env file in the same directory:
[email protected]
PASSWORD=yourpassword
DEVICE_NAME=You device name
Then use the provided docker-compose.yml:
services:
honeypot:
image: madereddy/honeypot:latest
restart: on-failure:5
read_only: true
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
mem_limit: 256m
tmpfs:
- /tmp
environment:
- EMAIL=${EMAIL}
- PASSWORD=${PASSWORD}
honeygain:
image: honeygain/honeygain:latest
restart: on-failure:5
command: -tou-accept -email ${EMAIL} -pass ${PASSWORD} -device ${DEVICE_NAME:-honeypot}
restart: on-failure:5means Docker will restart the container up to 5 times on a crash, but will stop retrying if credentials are wrong — preventing an infinite restart loop.
Run with:
docker compose up -d
View logs:
docker compose logs -f
2) → retries in 1 hour1) → retries in 2 hours401) → re-authenticates immediately and retriesgit clone https://github.com/madereddy/honeypot.git
cd honeypot
docker build -t honeypot .
docker run \
-e [email protected] \
-e PASSWORD=yourpassword \
honeypot
This repo automatically builds and pushes the image to both Docker Hub and GHCR on every push to main and on new releases.
Add the following secrets to your GitHub repository under Settings → Secrets and variables → Actions:
| Secret | Description |
|---|---|
DOCKERHUB_USERNAME | Your Docker Hub username |
DOCKERHUB_TOKEN | A Docker Hub access token (create one here) |
GITHUB_TOKEN is provided automatically by GitHub Actions — no setup needed.
This project is licensed under the Apache 2.0 License — you are free to use, modify, and distribute this software, but you must include attribution to the original author.
Copyright (c) 2026 madereddy
See the LICENSE file for full details.
Content type
Image
Digest
sha256:7eb925516…
Size
45.2 MB
Last updated
6 months ago
docker pull madereddy/honeypot