Code Monkey home page Code Monkey logo

prusa-link-docker's Introduction

PrusaLink Docker

This repository contains a Dockerfile and associated files for running PrusaLink in a Docker container. PrusaLink is a tool for managing and controlling Prusa 3D printers.

Prerequisites

  • Docker installed on your system
  • Git (optional, for cloning the repository)

Building the Docker Image

  1. Clone the repository (or download the Dockerfile):

    git clone https://github.com/donslice/prusa-link-docker.git
    cd prusa-link-docker
    
  2. Build the Docker image:

    docker build -t prusalink .
    

    This command builds the Docker image and tags it as 'prusalink'.

Running the Container

After building the image, you can run the container using Docker run or Docker Compose.

Using Docker Run

docker run -it -p 8080:8080 --privileged \
  -v /opt/prusalink/config:/etc/prusalink \
  -v /opt/prusalink/data:/home/pi \
  prusalink

Adjust the volumes and other settings as needed for your environment.

Using Docker Compose

  1. Create a docker-compose.yml file with the following content:

    services:
      prusalink:
        image: prusalink
        privileged: true
        ports:
          - "8080:8080"
        volumes:
          - /opt/prusalink/config:/etc/prusalink
          - /opt/prusalink/data:/home/pi
  2. Run the container:

    docker-compose up -d
    

Configuration

  • The container is set up to use the 'pi' user by default.
  • Configuration files should be placed in /opt/prusalink/config on the host, which is mapped to /etc/prusalink in the container.
  • User data is stored in /opt/prusalink/data on the host, mapped to /home/pi in the container.

Accessing PrusaLink

Once the container is running, you can access the PrusaLink web interface by navigating to http://localhost:8080 in your web browser.

Troubleshooting

  • If you encounter permission issues, ensure that the volumes on the host have the correct permissions.
  • For any PrusaLink-specific issues, refer to the official PrusaLink documentation.

Contributing

This repository is not actively maintained. Users are encouraged to fork the repository and make their own modifications as needed. If you develop improvements or fixes, consider sharing them with the community by creating your own public fork or repository.

License

This Dockerfile and associated scripts are provided under the MIT License.

prusa-link-docker's People

Contributors

donslice avatar

Watchers

 avatar

prusa-link-docker's Issues

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.