Code Monkey home page Code Monkey logo

gotty-docker's Introduction

gotty-docker

this is a dynamically built gotty container

features:

  • select packages with environment values
  • easily run in docker composes
  • available as alpine and debian base images

branches

alpine

  • available with :latest
  • base alpine image + curl, jq, tmux and libc6-compat (light glibc compatibility to get gotty running)
  • main and community repo available

debian

  • available with :debian
  • base image + curl, jq and tmux
  • sid main repo available

environment values

  • port - sets the port the gotty web-ui runs at (def. 8080)
  • userpass - sets a username and password for the webui (optional, def. none)
  • title - set application title (browser and tmux session title, def. gotty)
  • pkgs - additional packages to install when the container is started (optional, def. none)
  • command - the command to run (required, def. none/pfetch)
  • use_tmux - either open a subshell for every page load (false) or just attach to a single shell started at the beginning (true) (optional, def. true)
  • allow_write - allow users to send input, should be used with auth (optional, def. false)

compose

this example can also be found in the repo

version: '2.3'

services:
  gotty-docker:
    container_name: gotty-docker
    image: byreqz/gotty-docker:latest
    restart: unless-stopped
    ports:
     - 1234:1234
    environment:
     - port=1234
     - userpass=user:pass
     - title=1234
     - pkgs=htop
     - command=htop
     - use_tmux=true

gotty-docker's People

Contributors

byreqz avatar

Watchers

 avatar  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.