Compare commits

..

No commits in common. "02fccb3605e08787ff54a464fe0eb9bb7e21e121" and "f5557a5ccd4711e341c8b5b17de72cfb7647ab94" have entirely different histories.

View File

@ -9,6 +9,10 @@ Only the clients need a connection to this service on configured port.
[[_TOC_]] [[_TOC_]]
## ToDo's
- check why windows guests display "can't acquire license" although in log there is no message displayed and license is
also acquired successfully
# Setup (Service) # Setup (Service)
@ -34,8 +38,6 @@ openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout $WORKING_DIR/webse
**Start container** **Start container**
To test if everything is set up properly you can start container as following:
```shell ```shell
docker volume create dls-db docker volume create dls-db
docker run -e DLS_URL=`hostname -i` -e DLS_PORT=443 -p 443:443 -v $WORKING_DIR:/app/cert -v dls-db:/app/database collinwebdesigns/fastapi-dls:latest docker run -e DLS_URL=`hostname -i` -e DLS_PORT=443 -p 443:443 -v $WORKING_DIR:/app/cert -v dls-db:/app/database collinwebdesigns/fastapi-dls:latest
@ -43,7 +45,7 @@ docker run -e DLS_URL=`hostname -i` -e DLS_PORT=443 -p 443:443 -v $WORKING_DIR:/
**Docker-Compose / Deploy stack** **Docker-Compose / Deploy stack**
Goto [`docker-compose.yml`](docker-compose.yml) for more advanced example (with reverse proxy usage). Goto [`docker-compose.yml`](docker-compose.yml) for more advanced example.
```yaml ```yaml
version: '3.9' version: '3.9'
@ -448,10 +450,11 @@ Dec 20 17:53:34 ubuntu-grid-server nvidia-gridd[10354]: License acquired success
</details> </details>
### Error on releasing leases on shutdown (can be ignored and/or fixed with reverse proxy) ### Error on releasing leases on shutdown (can be fixed with reverse proxy)
The driver wants to release current leases on shutting down windows. This endpoint needs to be a http endpoint. The driver wants to release current leases on shutting down windows. This endpoint needs to be a http endpoint and
The error message can safely be ignored (since we have no license limitation :P) and looks like this: is currently not implemented. The error message looks like and safely can be ignored (since we have no license
limitation :P):
<details> <details>
<summary>Log example</summary> <summary>Log example</summary>
@ -463,7 +466,7 @@ The error message can safely be ignored (since we have no license limitation :P)
<0>:End Logging <0>:End Logging
``` ```
#### log with nginx as reverse proxy (see [docker-compose.yml](docker-compose.yml)) #### log with 1.3 and nginx as reverse proxy
``` ```
<1>:NLS initialized <1>:NLS initialized