frps多租户鉴权的项目,可以很方便的是用一个frps服务端支持多个租户,并且可以给其中某个租户设置过期日期。touch config.yml
frps:
users:
# 用户1
- user: ""
# token
token: ""
# 用户2
- user: ""
# token
token: ""
# 过期日期
expirationDate: "yyyy-MM-dd"
docker run -d \
--name frps-auth-users \
--restart=always \
-p 9000:9000 \
-v $(pwd)/frps-auth-users/config/config.yml:/app/config/config.yml \
-v $(pwd)/frps-auth-users/logs:/app/logs \
-e PARAMS="--spring.config.additional-location=file:///app/config/config.yml" \
wuai1024/frps-user-auth:latest
Content type
Image
Digest
sha256:6c68d92b8…
Size
172.4 MB
Last updated
about 1 year ago
docker pull wuai1024/frps-user-auth