GithubHelp home page GithubHelp logo

kenneth-mid / orcaslicer-novnc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from helfrichmichael/orcaslicer-novnc

0.0 0.0 0.0 11 KB

Simple Docker container that serves OrcaSlicer via noVNC in your web browser.

Shell 21.20% Dockerfile 78.80%

orcaslicer-novnc's Introduction

OrcaSlicer noVNC Docker Container

Overview

This is a super basic noVNC build using supervisor to serve OrcaSlicer in your favorite web browser. This was primarily built for users using the popular unraid NAS software, to allow them to quickly hop in a browser, slice, and upload their favorite 3D prints.

A lot of this was branched off of dmagyar's awesome prusaslicer-vnc-docker project, but I found it to be a bit complex for my needs and thought this approach would simplify things a lot.

How to use

In unraid

If you're using unraid, open your Docker page and under Template repositories, add https://github.com/helfrichmichael/unraid-templates and save it. You should then be able to Add Container for orcaslicer-novnc. For unraid, the template will default to 6080 for the noVNC web instance.

Outside of unraid

To run this image, you can run the following command: docker run --detach --volume=orcaslicer-novnc-data:/configs/ --volume=orcaslicer-novnc-prints:/prints/ -p 8080:8080 -e SSL_CERT_FILE="/etc/ssl/certs/ca-certificates.crt" --name=orcaslicer-novnc orcaslicer-novnc

This will bind /configs/ in the container to a local volume on my machine named orcaslicer-novnc-data. Additionally it will bind /prints/ in the container to orcaslicer-novnc-prints locally on my machine, it will bind port 8080 to 8080, and finally, it will provide an environment variable to keep OrcaSlicer happy by providing an SSL_CERT_FILE.

GPU Acceleration/Passthrough

Like other Docker containers, you can pass your Nvidia GPU into the container using the NVIDIA_VISIBLE_DEVICES and NVIDIA_DRIVER_CAPABILITIES envs. You can define these using the value of all or by providing more narrow and specific values. This has only been tested on Nvidia GPUs.

In unraid you can set these values during set up. For containers outside of unraid, you can set this by adding the following params or similar -e NVIDIA_DRIVER_CAPABILITIES="all" NVIDIA_VISIBLE_DEVICES="all"

Links

OrcaSlicer

Supervisor

GitHub Source

Docker

Buy Me A Coffee

orcaslicer-novnc's People

Contributors

helfrichmichael avatar kylek29 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.