Pinging @nimmo@lem.nimmog.uk so you see I have replied with a compose file… Maybe, not sure how lemmy works yet…
Pinging @nimmo@lem.nimmog.uk so you see I have replied with a compose file… Maybe, not sure how lemmy works yet…
version: "3.0"
networks:
web:
external: true
services:
prusaslicer:
image: keyglitch/prusaslicer
volumes:
- share:/home/slic3r/share:z
- ./slic3r:/home/slic3r
depends_on:
- novnc
environment:
DISPLAY: novnc:0.0
WIDTH: 1920
HEIGHT: 1080
entrypoint: ""
command:
- /bin/sh
- -c
- /bin/sleep 3 && /Slic3r/slic3r-dist/prusa-slicer
novnc:
image: theasp/novnc:latest
networks:
web:
default:
environment:
RUN_XTERM: "yes"
RUN_FLUXBOX: "yes"
DISPLAY_WIDTH: 1920
DISPLAY_HEIGHT: 1080
labels:
traefik.enable: true
traefik.docker.network: web
traefik.http.routers.slicer.rule: Host(`slicer.myurl.com`)
traefik.http.routers.slicer.tls.certResolver: le
traefik.http.routers.slicer.middlewares: auth@file
You’ll have to add something to be able to transfer files to the share
volume separately. I use machines/filestash
and dperson/samba
.
Commenting so I’ll be able to find my way back here to post my docker compose for this when I’m back at my computer.
I usually say: start by removing all frontend resources - especially anything with my name on it - and see if it fixes things.
Google maps are absolutely atrocious in Sweden.
Tried to find a spot my brother-in-law was camping at from the position he sent last week. After parking and walking for an hour, we switched to Apple maps instead, and surprise! There’s an impassable stream between us!
You should be able to just expose port 8080 from
novnc
and be good to go, I guess. And then you don’t need thenetworks
stuff either.