Skip to content

pedrolamas/docker-mainsail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-mainsail

Project Maintenance License

Release

Follow pedrolamas on Twitter Follow pedrolamas on Mastodon

Simple Docker image running the latest Mainsail

Warning: This project is not affiliated with Mainsail, so please be aware that it may stop working at any moment.

Mainsail related issues must be reported directly on the Mainsail official repo.

This repo will run a GitHub action every 20 minutes to check for new code on the "master" and "develop" branches of the Mainsail repository, and creates new Docker images if there are any modifications.

Usage

Create and run the new container as you would normally do, but remember to specify the API_HOST environment variable to indicate the Moonraker host.

docker run -d \
  --name mainsail \
  --net=host \
  -e API_HOST=<moonraker host or ip> \
  ei99070/docker-mainsail

By default the server runs on port 80, but this can be changed by specifying the PORT environment variable.

docker run -d \
  --name mainsail \
  --net=host \
  -e API_HOST=<moonraker host or ip> \
  -e PORT=<alternative port> \
  ei99070/docker-mainsail

Available tags

  • latest or master: points to "master" branch
  • latest-dev or develop: points to "develop" branch
  • sha-<hash>: points to the GitHub commit hash

License

MIT