Skip to content

Instantly share code, notes, and snippets.

@andrewgribben
Created May 7, 2021 09:02
Show Gist options
  • Save andrewgribben/0f1cf77c47096fe246c9219e684b4b2b to your computer and use it in GitHub Desktop.
Save andrewgribben/0f1cf77c47096fe246c9219e684b4b2b to your computer and use it in GitHub Desktop.
Pycrytpo bot config
version: "3.6"
services:
btcgbp:
container_name: "BTC-GBP"
image: "ghcr.io/whittlem/pycryptobot/pycryptobot:latest"
restart: always
volumes:
- /home/ubuntu/docker/market/BTC-GBP/config.json:/app/config.json
- /home/ubuntu/docker/market/BTC-GBP/pycryptobot.log:/app/pycryptobot.log
- /home/ubuntu/docker/market/BTC-GBP/graphs:/app/graphs
- /etc/localtime:/etc/localtime:ro
environment:
- PYTHONUNBUFFERED=1
ethgbp:
container_name: "ETH-GBP"
image: "ghcr.io/whittlem/pycryptobot/pycryptobot:latest"
restart: always
volumes:
- /home/ubuntu/docker/market/ETH-GBP/config.json:/app/config.json
- /home/ubuntu/docker/market/ETH-GBP/pycryptobot.log:/app/pycryptobot.log
- /home/ubuntu/docker/market/ETH-GBP/graphs:/app/graphs
- /etc/localtime:/etc/localtime:ro
environment:
- PYTHONUNBUFFERED=1
etcgbp:
container_name: "ETC-GBP"
image: "ghcr.io/whittlem/pycryptobot/pycryptobot:latest"
restart: always
volumes:
- /home/ubuntu/docker/market/ETC-GBP/config.json:/app/config.json
- /home/ubuntu/docker/market/ETC-GBP/pycryptobot.log:/app/pycryptobot.log
- /home/ubuntu/docker/market/ETC-GBP/graphs:/app/graphs
- /etc/localtime:/etc/localtime:ro
environment:
- PYTHONUNBUFFERED=1
ltcgbp:
container_name: "LTC-GBP"
image: "ghcr.io/whittlem/pycryptobot/pycryptobot:latest"
restart: always
volumes:
- /home/ubuntu/docker/market/LTC-GBP/config.json:/app/config.json
- /home/ubuntu/docker/market/LTC-GBP/pycryptobot.log:/app/pycryptobot.log
- /home/ubuntu/docker/market/LTC-GBP/graphs:/app/graphs
- /etc/localtime:/etc/localtime:ro
environment:
- PYTHONUNBUFFERED=1
adagbp:
container_name: "ADA-GBP"
image: "ghcr.io/whittlem/pycryptobot/pycryptobot:latest"
restart: always
volumes:
- /home/ubuntu/docker/market/ADA-GBP/config.json:/app/config.json
- /home/ubuntu/docker/market/ADA-GBP/pycryptobot.log:/app/pycryptobot.log
- /home/ubuntu/docker/market/ADA-GBP/graphs:/app/graphs
- /etc/localtime:/etc/localtime:ro
environment:
- PYTHONUNBUFFERED=1
{
"coinbasepro" : {
"api_url" : "https://api.pro.coinbase.com",
"api_key" : "KEY",
"api_secret" : "SECRET",
"api_passphrase" : "PASSPHRASE",
"config" : {
"base_currency" : "ETH",
"quote_currency" : "GBP",
"granularity" : "3600",
"live" : 1,
"verbose" : 0,
"sellatloss" : 0,
"sellatresistance" : 1,
"disablebullonly" : 1,
"disablebuynearhigh" : 1,
"disablebuyobv" : 1,
"disablebuyelderray" : 1
}
},
"telegram" : {
"token" : "BOT ID FROM @botfather",
"client_id" : "TELEGRAM USER ID"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment