Skip to content

magicdude4eva/docker-gunbot

Repository files navigation

Gunbot Docker Edition for Synology NAS / Linux

GitHub stars GitHub forks GitHub issues Docker Pulls Docker Stars GitHub last commit Build and Push Docker image

paypal 🍺 Please support me: Although all my software is free, it is always appreciated if you can support my efforts on Github with a contribution via Paypal - this allows me to write cool projects like this in my personal time and hopefully help you or your business.

βœ… Compatible with Gunbot version: Gunbot v30.6.8

βœ… Compatible with Synology DSM6.0, DSM7.0 (both on DS1019+)

πŸ†˜ Help and support via magicdude4eva/docker-gunbot

A minimal, colorised Docker setup for Gunbot β€” the advanced crypto trading bot that runs securely on your own machine.

πŸš€ What is Gunbot?

Gunbot is an advanced yet easy-to-use crypto trading bot. You define or select a trading strategy, and Gunbot executes trades automatically, 24/7. It can handle hundreds of trades per day, adapting to market conditions with precision. For security, Gunbot runs entirely on your own computer or server, keeping your exchange API keys private and your data out of third-party hands.

Gunbot Docker File
Gunbot Trading Console via Webview

πŸ“˜ Official Documentation

To get familiar with Gunbot concepts and strategies:

🐳 Quick Setup (Recommended)

Run the one-liner below to download the latest docker-compose.yml and configuration:

curl -fsSL -H 'Cache-Control: no-cache' -o setup.sh https://raw.githubusercontent.com/magicdude4eva/docker-gunbot/refs/heads/main/setup.sh && bash setup.sh

You’ll be prompted whether to install Gunbot in the current directory or in a new ./gunbot folder.

🌐 Once complete, your Gunbot stack will start automatically. You can Access the Gunbot Web UI πŸ‘‰ http://localhost:5555/

Start and stop as usual:

docker compose up -d
docker compose down

To update:

docker compose pull
docker compose up -d

πŸ—‚οΈ File Structure

gunbot/
β”œβ”€β”€ binance_data/          # Persistent trading data and settings
β”œβ”€β”€ docker-compose.yml     # Service definition
└── setup.sh               # Installer (optional)

πŸ’‘ Notes

  • Each exchange configuration is stored inside binance_data.
  • Logs and config files persist across restarts.
  • Adjust ports or environment variables in docker-compose.yml as needed.
  • For troubleshooting or updates, refer to the official Gunbot support documentation.

I am a Gunbot Reseller and Binance Affiliate

You need at least a "Gunbot Standard" License to trade on Binance and use the provided autoconfig tool which automatically trades BTC-ALT coins for you. I am an offical Gunbot Reseller and you can purchase a license straight from the links below or via gunbot.at:

Gunbot Edition Price Link
Gunbot Standard $ 59,00 gunbot/promoStandard
Gunbot Pro $ 149,00 gunbot/promoPro
Gunbot Defi $ 249,00 gunbot/promoUltimate

(*) You can always upgrade to a higher license later - I can help you - contact me on Telegram @magicdude4eva

πŸ† If you are new to Binance, I can share my affiliate link where both of us will earn 10% commission on trades.

πŸš€ If you have not signed up with Crypto.com to trade in CRO, read this: Crypto.com Visa Debit Card with Cashback and 100% rebate on Netflix, Spotify & Amazon Prime

Docker image with colorised output & Telegram Support

Gunbot Colorised Console Output via Docker
Gunbot Dockerfile with glibc and colorised output

Gunbot Telegram Notifications via Docker
Gunbot Dockerfile with Telegram Notifications

Telegram Configuration

Notifications work by first creating a personal bot on Telegram, Gunbot then connects to this bot to push notifications to you.

This is how to create a bot:

  • Talk to @botfather. Create a new bot with the command /newbot and choose a name and username for your bot. Save the bot token shown.
  • Talk to @myidbot to see your Chat ID, save it.
  • Enable Telegram notifications for Gunbot, and enter the token and ID you've just gathered. Use the ID for both the user and admin ID fields, this makes sure that only you can interact with the Telegram bot. Alternatively, you can set a comma separated list for Admin ID, specifying multiple IDs who may interact with the bot.
  • Start a chat with the username you've picked for your bot, and hit the start button. If you don't see a start button, write "/start" and send it as message.
  • To enable trade notifications, enable these in the settings menu inside the Telegram bot.
  • The Telegram bot is fully integrated into Gunbot. All you need to do to start the Telegram bot is enable Telegram notifications in your Gunbot settings.
  • After setting it up, type /start to your bot to open the menu.

Overview of Gunbot Licenses

Note: You will need to have at leasT "Gunbot Standard" to support all strategies, and I strongly recommend it. If you want to trade on multiple exchanges use "Gunbot Pro" (3 API Slots) or "Gunbot Ultimate (5 API Slots)

Gunbot License differences
Gunbot License differences - click to purchase a "Gunbot Standard License" or pick other licenses from above


Troubleshooting

If you do not manage to resolve your problems with basic troubleshooting, log a Issue in this project. For basic problems:

  1. Check that your permissions of folders are correct:
image
  1. Check the log output when starting the container docker logs -n 100 -f gunbot-binance

  2. Check for any Gunbot errors - most of the time the JSON is invalid (missing brackets, commas, quotes)

If you log an issue, ensure that you include your logs, but make sure to remove any reference to your API keys or Gunbot masterkeys/passwords.

Donations are always welcome

🍻 Support my work
All my software is free and built in my personal time. If it helps you or your business, please consider a small donation via PayPal β€” it keeps the coffee β˜• and ideas flowing!

πŸ’Έ Crypto Donations
You can also send crypto to one of the addresses below:

(BTC)   bc1qdgdkk7l98pje8ny9u4xavsvrea8dw6yu8jpnyf
(ETH)   0x5986f713A538D6bCaC0865564dCD45E2600A3469  
(POL)   0x5986f713A538D6bCaC0865564dCD45E2600A3469
(CRO)   0xb83c3Fe378F5224fAdD7a0f8a7dD33a6C96C422C (Cronos or Crypto.com Paystring magicdude$paystring.crypto.com)
(BNB)   0x5986f713A538D6bCaC0865564dCD45E2600A3469
(LTC)   ltc1qexst2exxksfyg7erfzlfrm23twkjgf7e5fn64t
(DOGE)  DMQsxc9XGF6526drBJDZeX7AjFDJsEz4mN
(SOL)   t4bYQCUuoCUrp7kJ4Mz314npcTuKoUSXj28UgdMrfTb

🧾 Recommended Platforms

  • πŸ‘‰ Curve.com: Add your Crypto.com card to Apple Pay
  • πŸ” Crypto.com: Stake and get your free Crypto Visa card
  • πŸ“ˆ Binance: Trade altcoins easily