[Share Experiences] 【Docker】搭建一个轻量化私密导航站Flare
Tofloor
poster avatar
AMZ
deepin
2024-04-05 23:08
Author

使用Docker-compose方式:

version: "3"
services:
  flare:
    image: soulteary/flare:latest
    restart: unless-stopped
    network_mode: bridge
    hostname: flare
    container_name: flare
    command: flare --disable_login=0 --visibility=private  #这里的优先级比环境变量更高,全局登录可见,不设置默认无需登录且开放访问。
    volumes:
      - /volume1/docker/Flare:/app
    environment:
      - FLARE_USER=AMZ             # 用户名
      - FLARE_PASS=123456       # 密码
      - FLARE_GUIDE=0                 # 是否开启“使用向导”,访问 `/guide`
      - FLARE_DISABLE_LOGIN=1   #启用登陆功能
      - FLARE_EDITOR=1               #启用在线编辑器功能
      - FLARE_VISIBILITY=1           #首页是否登陆可见
      - FLARE_PORT=5005             #修改默认监听端口
    ports:
      - 6214:5005

截图_选择区域_20240405231414.png

Reply Favorite View the author
All Replies

No replies yet