Sign inSign up

gronis/scprime-price-watcher

By gronis

Updated almost 4 years ago

Updates the price of your ScPrime container to what the price is currently on https://scpri.me

Image
1

248

gronis/scprime-price-watcher repository overview

scprime-price-watcher

Updates the price of your ScPrime container to what the price is currently on https://scpri.me.

Currently, it will set the price to in between the max price and the goal price. This might change in the future.

Github Repo

Run daemon:

docker run --rm -it -e CONTAINER=<name-of-scprime-daemon> -v /var/run/docker.sock:/var/run/docker.sock:ro gronis/scprime-price-watcher

Run with docker-compose

version: "3.6"
services:
  scp1-price-watcher:
    container_name: scp1-price-watcher
    image: gronis/scprime-price-watcher
    restart: unless-stopped
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    tty: true
    environment:
      - CONTAINER=<name-of-scprime-daemon>

Example output:

Setting target price to: 18.1 SCP
Host settings updated.
Estimated conversion rate: 0.036186524090953694%
Sleeping 24h...

Tag summary

Content type

Image

Digest

sha256:f4831a3d0

Size

46.1 MB

Last updated

almost 4 years ago

docker pull gronis/scprime-price-watcher