34 lines
907 B
YAML
34 lines
907 B
YAML
services:
|
|
vdf-web:
|
|
container_name: vdf-web
|
|
image: ghcr.io/0x90d/vdf-web:latest
|
|
# image: jlesage/video-duplicate-finder:latest
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "nc -z 127.0.0.1 8080 || exit 1"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 90s
|
|
# security_opt:
|
|
# - no-new-privileges:true
|
|
environment:
|
|
TZ: Europe/Paris
|
|
VDF_WEB_PASSWORD: St&ph@ne
|
|
# USER_ID: 1000
|
|
# GROUP_ID: 1000
|
|
restart: unless-stopped
|
|
ports:
|
|
- 4741:8080
|
|
volumes:
|
|
# - /var/lib/docker/volumes/vdup/config:/config:rw
|
|
- /var/lib/docker/volumes/vdf/db:/root/.config/VDF
|
|
- /var/lib/docker/volumes/vdf/state:/root/.local/state/VDF
|
|
- /network:/storage:rw
|
|
# devices:
|
|
# - /dev/dri:/dev/dri
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- capabilities: [ gpu ]
|
|
runtime: nvidia |