Sign inSign up

safiyu/scriptex

By safiyu

Updated 11 months ago

A dockerized web gui for executing shell script.

Image
Security
Web servers
0

607

safiyu/scriptex repository overview

A dockerized web gui for executing shell script.

Security

Username and password can be passed through env variables. If not passed, then the default values will be used {username: admin, password: scriptex}

To avoid brut force attack, 3 invalid logins in 30 mins window will block the IP for 10 hours.

Installation

Docker compose example:

services:
  scriptex:
    container_name: scriptex
    image: safiyu/scriptex:latest
    volumes:
      - /path/to/shellscript:/app/scriptorun.sh:ro
      - /additional/path/based/on/script/:/shared #optional
    environment:
      - TZ=Europe/Paris
      - TRUSTED_IPS=192.168.1.111,192.168.1.222
      - APP_USER=username
      - APP_PASS=password1243
    restart: always
    healthcheck:
      disable: false
    ports:
      - '5100:5100'

Environment Variables

VariableDescription
TRUSTED_IPSList of IP's to whitelist. These IP's will be skipped for authentication
APP_USERUsername
APP_PASSPassword

License

This project is licensed under the GNU General Public License v3.0.

Tag summary

Content type

Image

Digest

sha256:9888d2236

Size

121.4 MB

Last updated

11 months ago

docker pull safiyu/scriptex