Sign inSign up

wuai1024/frps-user-auth

By wuai1024

Updated about 1 year ago

Image
0

3.3K

wuai1024/frps-user-auth repository overview

frps-user-auth
本项目是一个可以实现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

Tag summary

Content type

Image

Digest

sha256:6c68d92b8

Size

172.4 MB

Last updated

about 1 year ago

docker pull wuai1024/frps-user-auth