Change for Linux docker
This commit is contained in:
+10
-4
@@ -12,11 +12,17 @@ services:
|
|||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
environment:
|
environment:
|
||||||
DARK_MODE: 1
|
DARK_MODE: 1
|
||||||
USER_ID: 1026
|
USER_ID: 1000
|
||||||
GROUP_ID: 100
|
GROUP_ID: 1000
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 4741:5800
|
- 4741:5800
|
||||||
volumes:
|
volumes:
|
||||||
- /volume1/docker/video-duplicate-finder:/config:rw
|
- /var/lib/docker/volumles/vdup/config:/config:rw
|
||||||
- /volume1:/storage:rw
|
- /network:/storage:rw
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
reservations:
|
||||||
|
devices:
|
||||||
|
- capabilities: [ gpu ]
|
||||||
|
runtime: nvidia
|
||||||
Reference in New Issue
Block a user