docker run -d -eDLS_URL=10.1.1.107 -eDLS_PORT=443-p443:443 makedie/fastapi-dls 此处的DLS_URL与DLS_PORT是后续生成授权文件,告知guest如何访问授权容器,如果你要使用192.168.2.123:1234访问,则创建容器的命令应为 docker run -d -eDLS_URL=192.168.2.123 -eDLS_PORT=1234-p1234:443 makedie/fastapi-d...
collinwebdesigns/fastapi-dls:latest restart: always environment: <<: *dls-variables ports: - "443:443" volumes: - /opt/docker/fastapi-dls/cert:/app/cert - dls-db:/app/database logging: # optional, for those who do not need logs driver: "json-file" options: max-file: 5 max-size:...
dockerrun -d -e DLS_URL=10.1.1.107-e DLS_PORT=443-p443:443makedie/fastapi-dls 此处的DLS_URL与DLS_PORT是后续生成授权文件,告知guest如何访问授权容器,如果你要使用192.168.2.123:1234访问,则创建容器的命令应为 dockerrun -d -e DLS_URL=192.168.2.123-e DLS_PORT=1234-p1234:443makedie/fastapi-dls ...
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-Compose / Deploy stack Seeexamplesdirectory for more advanced examples (with reverse proxy usage). ...
在测试中,使用项目给的docker镜像,都出现了json报错,所以这里我自己创建docker的镜像。 配置镜像: 克隆仓库: git clone https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git cd到dockerfile所在路径: cd fastapi-dls 构建docker镜像: docker build -t dls . ...
Docker-Compose / Deploy stack Gotodocker-compose.ymlfor more advanced example (with reverse proxy usage). version:'3.9'x-dls-variables:&dls-variablesTZ:Europe/Berlin# REQUIRED, set your timezone correctly on fastapi-dls AND YOUR CLIENTS !!!DLS_URL:localhost# REQUIRED, change to your ip ...
# 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 op...
Docker-Swarm with shared/cluster database (e.g. postgres). *See [ha branch](https://git.collinwebdesigns.de/oscar.krause/fastapi-dls/-/tree/ha) for current status.* @@ -21,5 +22,6 @@ Add a user interface to manage origins and leases. ## Config Database Instead of using environme...
https://hub.docker.com/repository/docker/makedie/fastapi-dls/tags?page=1&ordering=last_updated docker run -d -eDLS_URL=10.1.1.107 -eDLS_PORT=443-p443:443 makedie/fastapi-dls:1.3.5 创建容器即可 关于TrueNas的特殊情况本小节仅针对在truenas中部署授权服务容器,如果你用的不是这东西,忽略此节 ...