https://github.com/pedrolamas/docker-mainsail
:package: Docker image for Mainsail
https://github.com/pedrolamas/docker-mainsail
docker docker-image klipper mainsail
Last synced: about 2 months ago
JSON representation
:package: Docker image for Mainsail
- Host: GitHub
- URL: https://github.com/pedrolamas/docker-mainsail
- Owner: pedrolamas
- License: mit
- Created: 2022-01-20T14:45:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-12-06T12:54:47.000Z (5 months ago)
- Last Synced: 2025-02-02T05:25:40.791Z (4 months ago)
- Topics: docker, docker-image, klipper, mainsail
- Language: Dockerfile
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# docker-mainsail
[](https://github.com/pedrolamas/docker-mainsail 'GitHub Repository')
[](https://github.com/pedrolamas/docker-mainsail/blob/master/LICENSE 'License')[](https://github.com/pedrolamas/docker-mainsail/actions 'Build Status')
[](https://twitter.com/pedrolamas)
[](https://hachyderm.io/@pedrolamas)Simple Docker image running the latest [Mainsail](https://github.com/mainsail-crew/mainsail#readme)
> **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.
```sh
docker run -d \
--name mainsail \
--net=host \
-e API_HOST= \
ei99070/docker-mainsail
```By default the server runs on port 80, but this can be changed by specifying the `PORT` environment variable.
```sh
docker run -d \
--name mainsail \
--net=host \
-e API_HOST= \
-e PORT= \
ei99070/docker-mainsail
```## Available tags
- `latest` or `master`: points to "master" branch
- `latest-dev` or `develop`: points to "develop" branch
- `sha-`: points to the GitHub commit hash## License
MIT