Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it is possible to run it in a proxmox container? #2

Open
platini76 opened this issue Dec 13, 2024 · 9 comments
Open

it is possible to run it in a proxmox container? #2

platini76 opened this issue Dec 13, 2024 · 9 comments

Comments

@platini76
Copy link

the request is to have a simple installation for a container

@prey87
Copy link

prey87 commented Dec 13, 2024

it's listed as a todo

@drndos
Copy link
Owner

drndos commented Dec 13, 2024

Yes, I have added a container and a compose file, helm file to come, and I will also check CI/CD so you can use docker image from github

drndos added a commit that referenced this issue Dec 13, 2024
Improvement: Add Dockerfile #2, compose, License, github workflow
@drndos
Copy link
Owner

drndos commented Dec 13, 2024

docker image is now available as a github package https://github.com/users/drndos/packages/container/package/openspoolman

@drndos drndos closed this as completed Dec 13, 2024
@platini76
Copy link
Author

I am in a proxmox ct and vm environment..
how to intall it please?

@drndos drndos reopened this Dec 14, 2024
@drndos drndos changed the title it is possible to run it on a container? it is possible to run it in a proxmox container? Dec 14, 2024
@drndos
Copy link
Owner

drndos commented Dec 14, 2024

It looks like it might be best to create a VM and install a docker/podman/other CR https://kubernetes.io/docs/setup/production-environment/container-runtimes/ there or if you need it for other stuff create a kubernetes cluster.

If you don't want the kubernetes cluster you can start the CR on system startup sudo systemctl enable docker and add restart: always after

services:
  openspoolman:

in compose.yaml, then simply run docker-compose up -d and it should run even if you restart the VM or CR environment until you run docker-compose down

If you fancy a kubernetes cluster the best way to start is IMHO microk8s. To run microk8s I have a quick how-to in Slovak language here: https://essential-data.sk/home-assistant-v-high-availability/ (if you use google translate, some of the code may be messed up, so check back to original page when copying code)

Note: I use kubernetes (k8s) everyday at work, it might be a little bit overwhelming, so be cautios and do it if you are willing to learn many new concepts

@tretabyte
Copy link

there's already scripts to deploy a LXC container of Spoolman into proxmox easily, why not build a package, similar for example to what exists for Prowlarr or Sonarr and have it deployed into the Spoolman container.
I should save everyone a lot of headache having both things in the same place.

@drndos
Copy link
Owner

drndos commented Dec 14, 2024

I couldn't find the scripts you mentioned could you please link them? Unfortunately I don't have the proxmox environment in my homelab. Feel free to open PR :) Maybe then I could test it in my work dev environment where I have proxmox. Thanks

Edit: you can use my helm chart of spoolman oci://ghcr.io/drndos/spoolman or edit the compose file to contain both spoolman and openspoolman together to make it easy and be together

@platini76
Copy link
Author

here are many scrpts to make a ct or a vm with a simple command
https://community-scripts.github.io/ProxmoxVE/

@tretabyte
Copy link

I couldn't find the scripts you mentioned could you please link them? Unfortunately I don't have the proxmox environment in my homelab. Feel free to open PR :) Maybe then I could test it in my work dev environment where I have proxmox. Thanks

Edit: you can use my helm chart of spoolman oci://ghcr.io/drndos/spoolman or edit the compose file to contain both spoolman and openspoolman together to make it easy and be together

https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/spoolman-install.sh

from https://community-scripts.github.io/ProxmoxVE/scripts?id=spoolman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants