Sign inSign up

coldfox/uif

By coldfox

•Updated 5 months ago

Image
0

289

coldfox/uif repository overview

该工程fork自https://github.com/UIforFreedom/UIF.git⁠

将数据保存在后台,而非浏览器本地,以便在不同机器上访问均是相同配置,从而解决每次在切换电脑时都重新配置的烦恼.

docker-compose.yml示例:


services:
  uif:
    image: coldfox/uif
    container_name: uifv1
    restart: unless-stopped
    environment:
      - UIF_DATA_DIR=/uif/data
      - UIF_CONFIG_DIR=/uif/config
    ports:
      - "9527:9527"
      - "9413:9413"
      - "9110:9110"
    cap_add:
      - NET_ADMIN
    # Linux:有助于 sing-box TUN(Windows Docker 请勿启用 devices,可注释整段)
    # devices:
    #   - /dev/net/tun
    # 若内核仍无法运行,取消下行注释
    # privileged: true
    sysctls:
      net.ipv4.ip_forward: "1"
      net.ipv6.conf.all.forwarding: "1"
    volumes:
      - ${UIF_DATA_HOST:-./data}:/uif/data
      - ${UIF_CONFIG_HOST:-./config}:/uif/config

Tag summary

Content type

Image

Digest

sha256:dc3d6734d…

Size

58.4 MB

Last updated

5 months ago

docker pull coldfox/uif