Git Product home page Git Product logo

sublink's Introduction

sublink for python3

电报群组 python vue2 作者

USDT (TRC20):TQ1bheWesAxByGrMztrZFhRFrUZDbJkdse

2.9-1更新说明:

修复surpe hy2协议 新增删除登录记录命令 新增query中cert证书自定义

功能说明:

节点转换成订阅,并且能够一直存储

方便多订阅管理,个人搭建使用

解决安全问题预防被偷节点,集成前后端

目前支持v2ray|clash|surge

v2ray格式通用的软件已测有下:v2rayn 小火箭等,还有一些没用过不知名

默认账户密码都是admin,请记得修改否则容易泄漏

安装说明:

拉取或者更新docker镜像

如果你有旧版本拉取前可以先停止和删除容器再删除镜像

docker rm -f sublink

docker images

docker rmi 这里填写IMAGEID

然后拉取镜像输入,默认拉取就是最新版本

docker pull jaaksi/sublink

启动docker

挂载到当前目录下(方式一)

进入到你的目录比如你可以创建一个sublink目录然后输入

docker run --name sublink -p 8000:5000 \
-v $PWD/db:/app/app/db \
-e PORT=5000 \
-d jaaksi/sublink
挂载到数据卷(方式二)
docker run --name sublink -p 8000:5000 \
-v sublink_data:/app/app/db \
-e PORT=5000 \
-d jaaksi/sublink

查看数据存放目录docker volume inspect sublink_data

docker-compose(方式三)

下载docker-compose.yml,然后启动

docker-compose up -d

参数 说明
p 公网端口:容器端口
name docker名字
v 挂载目录
e 端口环境变量
d 后台方式启动

假如你忘记了账号或者密码

初始化为admin,确保你的容器在运行的时候终端执行以下命令:

docker exec -it sublink bash -c "python init_user_pw.py; exit"

清空登录记录

确保你的容器在运行的时候终端执行以下命令: docker exec -it sublink bash -c "python init_login_log.py; exit"

Stargazers over time

Stargazers over time

sublink's People

Contributors

jaaksii avatar nickdlkk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.