mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: Remove privileged mode and seccomp option, update runtime to nvidia
This commit is contained in:
@@ -3,10 +3,8 @@ version: "3.8"
|
||||
services:
|
||||
blender:
|
||||
image: lscr.io/linuxserver/blender:latest
|
||||
privileged: true
|
||||
container_name: blender
|
||||
security_opt:
|
||||
- seccomp:unconfined #optional
|
||||
runtime: nvidia
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
@@ -14,10 +12,7 @@ services:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities:
|
||||
- compute
|
||||
- video
|
||||
- graphics
|
||||
- utility
|
||||
- gpu
|
||||
environment:
|
||||
- NVIDIA_VISIBLE_DEVICES=all
|
||||
- NVIDIA_DRIVER_CAPABILITIES=all
|
||||
@@ -25,13 +20,8 @@ services:
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- SUBFOLDER=/ #optional
|
||||
volumes:
|
||||
- blender:/config
|
||||
ports:
|
||||
- 3000:3000
|
||||
- 3001:3001
|
||||
restart: unless-stopped
|
||||
shm_size: 1gb
|
||||
|
||||
volumes:
|
||||
blender: null
|
||||
|
||||
Reference in New Issue
Block a user