Minimal Delegated License Service (DLS).
100K+
Git Repo and README, Backup Mirror
There are also packages for Debian, Ubuntu and ArchLinux available. See complete Readme for more details.
version: '3.9'
x-dls-variables: &dls-variables
TZ: Europe/Berlin # REQUIRED, set your timezone correctly on fastapi-dls AND YOUR CLIENTS !!!
DLS_URL: localhost # REQUIRED, change to your ip or hostname
DLS_PORT: 443
LEASE_EXPIRE_DAYS: 90
DATABASE: sqlite:////app/database/db.sqlite
DEBUG: false
services:
dls:
image: collinwebdesigns/fastapi-dls:latest
restart: always
environment:
<<: *dls-variables
ports:
- "443:443" # internal port always is 443, so if you want to use 9443 instead, use "9443:443" and set "DLS_PORT: 9443"
volumes:
- /opt/docker/fastapi-dls/cert:/app/cert
- db:/app/database
volumes:
db:
The token file has to be copied! It's not enough to C&P file contents, because there can be special characters.
curl --insecure -X GET https://<dls-hostname-or-ip>/client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token.tok
service nvidia-gridd restart
nvidia-smi -q | grep "License"
Download file and place it into C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken.
Now restart NvContainerLocalSystem service.
Content type
Image
Digest
sha256:bd62fc80b…
Size
289.4 MB
Last updated
about 1 year ago
docker pull collinwebdesigns/fastapi-dls