Coder Social home page Coder Social logo

next-terminal-docker's Introduction

QuickOn next-terminal 应用镜像

GitHub Workflow Status Docker Pulls Docker Image Size GitHub tag

申明: 该软件镜像是由QuickOn打包。在发行中提及的各自商标由各自的公司或个人所有,使用它们并不意味着任何从属关系。

快速参考

一、关于 next-terminal

Next Terminal是使用Golang和React开发的一款HTML5的远程桌面网关,具有小巧、易安装、易使用、资源占用小的特点,支持RDP、SSH、VNC和Telnet协议的连接和管理。

screenshots

next-terminal官网:https://github.com/dushixiang/next-terminal

1.1 功能

  • 授权凭证管理
  • 资产管理(支持RDP、SSH、VNC、TELNET协议)
  • 指令管理
  • 批量执行命令
  • 在线会话管理(监控、强制断开)
  • 离线会话管理(查看录屏)
  • 双因素认证
  • 资产标签
  • 资产授权
  • 多用户&用户分组
  • 计划任务
  • 开源免费

二、支持的版本(Tag)

由于版本比较多,这里只列出最新的5个版本,更详细的版本列表请参考:可用版本列表

三、获取镜像

推荐从 Docker Hub Registry 拉取我们构建好的官方Docker镜像。

docker pull easysoft/next-terminal:latest

如需使用指定的版本,可以拉取一个包含版本标签的镜像,在Docker Hub仓库中查看 可用版本列表

docker pull easysoft/next-terminal:[TAG]

四、持久化数据

如果你删除容器,所有的数据都将被删除,下次运行镜像时会重新初始化数据。为了避免数据丢失,你应该为容器提供一个挂在卷,这样可以将数据进行持久化存储。

为了数据持久化,你应该挂载持久化目录:

  • /usr/local/next-terminal/data 持久化数据

如果挂载的目录为空,首次启动会自动初始化相关文件

$ docker run -it \
    -v $PWD/data:/usr/local/next-terminal/data \
docker pull easysoft/next-terminal:latest

或者修改 docker-compose.yml 文件,添加持久化目录配置

services:
  next-terminal:
  ...
    volumes:
      - /path/to/persistence:/usr/local/next-terminal/data
  ...

五、环境变量

变量名 默认值 说明
EASYSOFT_DEBUG false 是否打开调试信息,默认关闭
MYSQL_HOSTNAME 127.0.0.1 MySQL 主机地址
MYSQL_PORT 3306 MySQL 端口
MYSQL_DATABASE next-terminal next-terminal 数据库名称
MYSQL_USER next-terminal MySQL 用户名
MYSQL_PASSWORD next-terminal MySQL 密码
GUACD_HOSTNAME 127.0.0.1 Guacd 服务地址
GUACD_PORT 4822 Guacd 端口

六、运行

6.1 单机Docker-compose方式运行

# 启动服务
make run

# 查看服务状态
make ps

# 查看服务日志
docker-compose logs -f next-terminal

说明:

  • 启动成功后,打开浏览器输入 http://<你的IP>:8088 访问管理后台
  • 默认用户名:admin,默认密码:admin
  • VERSION 文件中详细的定义了Makefile可以操作的版本
  • docker-compose.yml

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.