A MyDiceBot Docker which is created by CodeCASH, BIG THANKS!

in #gambling5 years ago

A MyDiceBot Docker which is created by CodeCASH, BIG THANKS!

https://github.com/CodeCASH-Things/mydicebot-docker

mydicebot-docker

MyDiceBot Docker Files


Currently this is using my repository for mydicebot, my repo contains enhancements and bug fixes.
Presently the official mydicebot repo does not work with Docker due to absolute URLs being used.
My scripts are also being used in this example.
To use the offical builds just change the respective APP_REPO_URL to

https://github.com/mydicebot/mydicebot.github.io.git


Enviromental Varaibles:

Variable NameValue
APP_REPO_URLhttps://github.com/CodeCASH-Things/mydicebot.github.io.git
SCRIPT_REPO_URLhttps://github.com/CodeCASH-Things/mydicebot-scripts.git

Basic Usage:

git clone https://github.com/CodeCASH-Things/mydicebot-docker.git

docker build -t codecash-mydicebot mydicebot-docker

docker run -d \
 -p 57432:57432 \
 -v $(pwd)/app:/app \
 -v $(pwd)/script:/script \
 -e APP_REPO_URL=https://github.com/CodeCASH-Things/mydicebot.github.io.git \
 -e SCRIPT_REPO_URL=https://github.com/CodeCASH-Things/mydicebot-scripts.git \
 codecash-mydicebot

Docker Compose Usage:

version: '2'

services:
  dicebot-dev:
    image: codecash-mydicebot-docker:latest
    container_name: dicebot-dev
    environment:
      - APP_REPO_URL:"https://github.com/CodeCASH-Things/mydicebot.github.io.git"
      - SCRIPT_REPO_URL="https://github.com/CodeCASH-Things/mydicebot-scripts.git"
    volumes:
      - dicebot_data:/app
      - dicebot_script:/script
    networks:
        - bot_network
    ports:
      - 32787:57432
      

networks:
   - bot_network
      
      
      
volumes:
   dicebot_data:
     driver: local
     
   dicebot_script:
     driver: local
Sort:  

Thank you so much for participating in the Partiko Delegation Plan Round 1! We really appreciate your support! As part of the delegation benefits, we just gave you a 3.00% upvote! Together, let’s change the world!

Hi @mydicebot!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 1.852 which ranks you at #29237 across all Steem accounts.
Your rank has improved 129 places in the last three days (old rank 29366).

In our last Algorithmic Curation Round, consisting of 189 contributions, your post is ranked at #34.

Evaluation of your UA score:
  • Only a few people are following you, try to convince more people with good work.
  • The readers like your work!
  • Great user engagement! You rock!

Feel free to join our @steem-ua Discord server

Coin Marketplace

STEEM 0.20
TRX 0.20
JST 0.034
BTC 90526.91
ETH 3112.25
USDT 1.00
SBD 2.96