diff --git a/apps/getashell/config.json b/apps/getashell/config.json index f94380d9..32883c90 100644 --- a/apps/getashell/config.json +++ b/apps/getashell/config.json @@ -5,8 +5,8 @@ "exposable": true, "port": 8281, "id": "getashell", - "tipi_version": 7, - "version": "0.2.0", + "tipi_version": 8, + "version": "1.0.0", "categories": [ "utilities" ], @@ -14,7 +14,26 @@ "short_desc": "SSH shells from a Web UI", "author": "steveiliop56", "source": "https://github.com/steveiliop56/getashell", - "form_fields": [], + "form_fields": [ + { + "type": "text", + "label": "Username", + "required": true, + "env_variable": "GETASHELL_USERNAME" + }, + { + "type": "password", + "label": "Password", + "required": true, + "env_variable": "GETASHELL_PASSWORD" + }, + { + "type": "random", + "label": "GetAShell Secret Key", + "min": 32, + "env_variable": "GETASHELL_SECRET_KEY" + } + ], "supported_architectures": [ "arm64", "amd64" diff --git a/apps/getashell/docker-compose.yml b/apps/getashell/docker-compose.yml index a6183e92..b3d7a27a 100644 --- a/apps/getashell/docker-compose.yml +++ b/apps/getashell/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.9" services: getashell: - image: ghcr.io/steveiliop56/getashell:v0.2.0 + image: ghcr.io/steveiliop56/getashell:v1.0.0 container_name: getashell restart: unless-stopped volumes: @@ -11,6 +11,10 @@ services: - ${APP_PORT}:3000 networks: - tipi_main_network + environment: + - USERNAME=${GETASHELL_USERNAME} + - PASSWORD=${GETASHELL_PASSWORD} + - SECRET_KEY=${GETASHELL_SECRET_KEY} extra_hosts: - host.docker.internal:host-gateway labels: diff --git a/apps/getashell/metadata/description.md b/apps/getashell/metadata/description.md index bc0197bf..80823b13 100644 --- a/apps/getashell/metadata/description.md +++ b/apps/getashell/metadata/description.md @@ -1,10 +1,10 @@ ## Get A Shell 🐚 +**Warning ⚠️:** If you are updating to version 1.0.0 make sure to set a username and a password in the settings menu. + Have you ever wanted to just spin up a quick server than you can ssh into to test something real quick? Well with get a shell you can just spin up the ui select a distro and click _Get me a shell!_ and 💥 you have an ssh server with your specified distro. No need to spin up vms, run commands or anything harder than a click! -> Note 🗒️: I may push hot fixes like crazy, don't worry if you see like 5 updates in an row... I am still learning... +> Warning ⚠️: The app is in early stages of development, I am still quite new to both writing full stack apps and using technologies like drizzle and react. Any contributions are welcome. ![Preview](https://github.com/steveiliop56/getashell/blob/main/screenshots/app.png?raw=true) - -> Warning ⚠️: The app is in early stages of development, I am still quite new to both writing full stack apps and using technologies like drizzle and react. Any contributions are welcome.