Skip to content

Deploy Docker container in Portainer

Roman Davydov edited this page Mar 30, 2023 · 5 revisions
  1. create a folder in your home directory (e.g. "twitch")
  2. create sub-folders "analytics", "cookies" and "logs"
  3. create file "run.py" and use template from: https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/blob/3bafaf1be3960e37b370ccfd0207a12c5c420d07/example.py
  4. log into Portainer
  5. click Containers on the left menu
container

6.click add container

add container
  1. Choose a name (e.g. twitch) and copy "rdavidoff/twitch-channel-points-miner-v2" into image
name
  1. scroll down to "Network ports configuration" click "publish a new network port" and type in
port
  1. scroll down to Advanced container settings and choose "Console Interactive & TTY (-i -t)"
logging
  1. go to tab "volumes" and type in the following directories (change if your path differs)
volumes
  1. click "Deploy the container"
deploy

Accessing Analytics

it might be worth trying to set the analytics to run on 0.0.0.0 port 5000 that what i have mine set to after seeing other people having issues with using 127.0.0.1

also make sure that when you are connecting to the UI you are connecting with the containers IP since i assume it isn't considered local to the machine

Originally posted by @ikeman2003 in https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/issues/221#issuecomment-1483965484

Clone this wiki locally