FastAPI-DLS
collinwebdesigns/fastapi-dls:latest
https://hub.docker.com/r/collinwebdesigns/fastapi-dls
br0
sh
false
Source:
https://git.collinwebdesigns.de/oscar.krause/fastapi-dls#docker
Make sure you create these certificates before starting the container for the first time:
```
# Check https://git.collinwebdesigns.de/oscar.krause/fastapi-dls/-/tree/main/#docker for more information:
WORKING_DIR=/mnt/user/appdata/fastapi-dls/cert
mkdir -p $WORKING_DIR
cd $WORKING_DIR
# create instance private and public key for singing JWT's
openssl genrsa -out $WORKING_DIR/instance.private.pem 2048
openssl rsa -in $WORKING_DIR/instance.private.pem -outform PEM -pubout -out $WORKING_DIR/instance.public.pem
# create ssl certificate for integrated webserver (uvicorn) - because clients rely on ssl
openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout $WORKING_DIR/webserver.key -out $WORKING_DIR/webserver.crt
```
https://[IP]:[PORT:443]
https://git.collinwebdesigns.de/uploads/-/system/project/avatar/106/png-transparent-nvidia-grid-logo-business-nvidia-electronics-text-trademark.png?width=64
--restart always
1679161568
443
/mnt/user/appdata/fastapi-dls/cert
443
/mnt/user/appdata/fastapi-dls/data
sqlite:////app/database/db.sqlite
true
90