Giter VIP home page Giter VIP logo

sign-in's Introduction

多谢

本仓库部分脚本及其配置参考自dockere大佬, https://github.com/dockere/jd-base.git/, 感谢

免责声明

  1. 此仓储脚本仅用于学习研究,不保证其合法性、准确性、有效性,请根据情况自行判断,本人对此不承担任何保证责任。

  2. 由于此仓储脚本仅用于学习研究,您必须在下载后 24 小时内将所有内容从您的计算机或手机或任何存储设备中完全删除,若违反规定引起任何事件本人对此均不负责。

  3. 请勿将此仓储脚本用于任何商业或非法目的,若违反规定请自行对此负责。

  4. 此仓储脚本涉及应用与本人无关,本人对因此引起的任何隐私泄漏或其他后果不承担任何责任。

  5. 本人对任何脚本引发的问题概不负责,包括但不限于由脚本错误引起的任何损失和损害。

  6. 如果任何单位或个人认为此仓储脚本可能涉嫌侵犯其权利,应及时通知并提供身份证明,所有权证明,我们将在收到认证文件确认后删除此仓储脚本。

  7. 所有直接或间接使用、查看此仓储脚本的人均应该仔细阅读此声明。本人保留随时更改或补充此声明的权利。一旦您使用或复制了此仓储脚本,即视为您已接受此免责声明。

方法

docker run -dit \
   -v $PWD/jd/config:/jd/config \
   -v $PWD/jd/log:/jd/log \
   -p 3547:3547 \
   -e ENABLE_HANGUP=true \
   -e ENABLE_WEB_PANEL=true \
   --name jd \
   --hostname jd \
   --restart always \
   nextgods/sign-in:latest

如需指定目录,请把$PWD更改为指定目录即可,不然则为当前目录!! 执行上面命令之后建议执行docker logs -f jd查看安装进度,直到出现Welcome to Node.js v1x.x.0.代表成功!

等待数分钟后,即可访问 http://{ip}:3547/

命令↓

  1. 手动 git pull 更新脚本
docker exec -it jd bash git_pull
  1. 手动删除指定时间以前的旧日志
docker exec -it jd bash rm_log
  1. 重启容器
docker restart jd
  1. 如何自动更新镜像!
docker run -d \
    --name watchtower \
    --restart always \
    -v /var/run/docker.sock:/var/run/docker.sock \
    containrrr/watchtower \
    --cleanup

sign-in's People

Contributors

cocosilent avatar

Stargazers

 avatar

Watchers

 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.