This fork just includes a simple dockerfile to run it as a container. Most of it was lifted from @nikolak's fork https://github.com/nikolak/tsd-moonraker/
The docker-compose sample file can be used after linking the python app with TSD. This has not been tested with private TSD, only the cloud hosted version.
config.ini as described in original readme https://github.com/TheSpaghettiDetective/tsd-moonraker
-v flag.
docker run -it -v some-local-path/config.ini:/app/config.ini --entrypoint /bin/bash packetworks/tsd-moonraker:latest
some-local-path/config.ini with a full path to your own config located on your docker host.python3 -m tsd_moonraker.link -c config.ini and paste the generated URL into your browser to link the printer.docker-compose.yml file to suit your local environment. Make sure the config.ini file is specified for a volume.docker-compose up -ddocker run -d --name spaghetti-detective --restart unless-stopped -v /some-local-path/config.ini:/app/config.ini packetworks/tsd-moonrakerdocker logs spaghetti-detective you'll see Offline -> Operational in the logs.Content type
Image
Digest
Size
46.8 MB
Last updated
over 4 years ago
docker pull packetworks/tsd-moonraker