2023-12-04 15:32:49 +00:00
|
|
|
---
|
|
|
|
version: "2.1"
|
|
|
|
services:
|
|
|
|
prusaslicer-novnc:
|
|
|
|
image: mikeah/prusaslicer-novnc
|
|
|
|
container_name: prusaslicer-novnc
|
|
|
|
environment:
|
2024-04-03 12:59:41 +00:00
|
|
|
- SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
|
|
|
- NVIDIA_VISIBLE_DEVICES=0
|
|
|
|
- NVIDIA_DRIVER_CAPABILITIES=all
|
|
|
|
- DISPLAY=:1
|
2024-04-03 15:42:15 +00:00
|
|
|
- VNC_RESOLUTION=1920x1080
|
2023-12-04 15:32:49 +00:00
|
|
|
volumes:
|
|
|
|
- ./prints:/prints/
|
|
|
|
- ./data:/configs/
|
2024-04-03 15:41:49 +00:00
|
|
|
network_mode: host # THIS IS NEEDED FOR VIRTUALGL IMPORTANT, haven'tt figured out how to remove this yet
|
2023-12-04 15:32:49 +00:00
|
|
|
restart: unless-stopped
|