Skip to content

Commit

Permalink
v0.08
Browse files Browse the repository at this point in the history
  • Loading branch information
lllllllillllllillll committed Dec 15, 2023
1 parent f3c6e6f commit d4211f7
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 24 deletions.
18 changes: 12 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
## v0.08 (dev)
* Added SECRET field to register page as a simple security measure.
* dashCard links now use server IP.
* Added option to hide containers.
* Added 'Reset View' option.
* Removed the VPN, Firewall, and VNC placeholders.
## v0.08 (Dec 15th 2023)
* Updates to compose file and instructions from [steveiliop56](https://github.com/steveiliop56)
* Added SECRET field to compose file as a basic security measure.
* Visibility button to hide containers or reset view.
* Container link now uses server IP address.
* More compact container card, with style options planned.
* Improved log view.
* Removed VPN, Firewall, and VNC buttons.
* Updated dependencies (Sequelize 6.35.2)
* Fixed web pages not using the "public" static folder.
* Small tweaks to router.
* Replaced the default icon shown for missing icons (docker.png).

## v0.07 (Dec 8th 2023)
* View container logs.
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ DweebUI is a simple Docker web interface created using Javascript, Node.JS, and
Pre-Pre-Pre-Pre-Pre Alpha v0.08 ( :fire: Experimental. Don't install on any servers you care about :fire: )

[![GitHub Stars](https://img.shields.io/github/stars/lllllllillllllillll/DweebUI)](https://github.com/lllllllillllllillll)
[![GitHub License](https://img.shields.io/github/license/lllllllillllllillll/DweebUI)](https://github.com/lllllllillllllillll/DweebUI/blob/main/LICENSE)
[![GitHub Activity](https://img.shields.io/github/commit-activity/y/lllllllillllllillll/DweebUI)](https://github.com/lllllllillllllillll)
[![Docker Pulls](https://img.shields.io/docker/pulls/lllllllillllllillll/dweebui)](https://hub.docker.com/repository/docker/lllllllillllllillll/dweebui)
[![GitHub License](https://img.shields.io/github/license/lllllllillllllillll/DweebUI)](https://github.com/lllllllillllllillll/DweebUI/blob/main/LICENSE)


* This is a personal project that I decided to share.
* This is the first project I've ever released and I'm sure it's full of plenty of bugs and mistakes.
* This is a personal project that I decided to share. I'm sure it has plenty of bugs and mistakes.
* I haven't used Github very much and I'm still new to Javascript.
* I probably should have waited a lot longer to share this :|

Expand All @@ -34,7 +33,7 @@ Pre-Pre-Pre-Pre-Pre Alpha v0.08 ( :fire: Experimental. Don't install on any serv
* [x] Templates.json maintains compatability with Portainer, allowing you to use the template without needing to use DweebUI.
* [x] Automatically persists data in docker volumes if bind mount isn't used.
* [ ] Preset variables (planned).
* [ ] Offline/Local Only (planned).
* [ ] Offline/Local Icons (planned).


## Setup
Expand All @@ -46,7 +45,7 @@ services:
dweebui:
container_name: dweebui
image: lllllllillllllillll/dweebui:v0.08-dev
image: lllllllillllllillll/dweebui:v0.08
# build:
# context: .
environment:
Expand Down
6 changes: 3 additions & 3 deletions components/dashCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ module.exports.dashCard = function dashCard(data) {

if (style == "Large") {
iconSize = 'width="150px"'
} else if (style == "Compact") {
iconSize = 'width="110px"'
} else if ((style == "Compact") || (style == undefined)) {
iconSize = 'width="100px"'
margin = 'style="margin-bottom: 0;"'
} else if (style == "Row") {
iconSize = 'width="50px"'
Expand Down Expand Up @@ -128,7 +128,7 @@ module.exports.dashCard = function dashCard(data) {
<div class="card">
<div class="card-body">
<div class="card-stamp card-stamp-sm">
<img ${iconSize} src="https://raw.githubusercontent.com/lllllllillllllillll/DweebUI-Icons/main/${service}.png" onerror="this.onerror=null;this.src='https://raw.githubusercontent.com/lllllllillllllillll/DweebUI-Icons/main/dweebui.png';"></img>
<img ${iconSize} src="https://raw.githubusercontent.com/lllllllillllllillll/DweebUI-Icons/main/${service}.png" onerror="this.onerror=null;this.src='https://raw.githubusercontent.com/lllllllillllllillll/DweebUI-Icons/main/docker.png';"></img>
</div>
<div class="d-flex align-items-center">
<div class="subheader text-yellow">${external_port}:${internal_port}</div>
Expand Down
5 changes: 1 addition & 4 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
version: "3.9"
services:

dweebui:
container_name: dweebui
image: lllllllillllllillll/dweebui:v0.08-dev
image: lllllllillllllillll/dweebui:v0.08
# build:
# context: .
environment:
Expand All @@ -22,12 +21,10 @@ services:
networks:
- dweeb_network


volumes:
dweebui:
caddyfiles:


networks:
dweeb_network:
driver: bridge
7 changes: 1 addition & 6 deletions functions/package_manager.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { writeFileSync, mkdirSync, readFileSync } = require("fs");
const yaml = require('js-yaml');

const { exec, execSync } = require("child_process");
const { execSync } = require("child_process");

const { docker } = require('./system');

Expand All @@ -18,11 +18,6 @@ module.exports.install = async function (data) {
let { env0, env1, env2, env3, env4, env5, env6, env7, env8, env9, env10, env11 } = data;
let { label0, label1, label2, label3, label4, label5, label6, label7, label8, label9, label10, label11 } = data;


if ((service_name.includes('caddy')) || (name.includes('caddy'))) {
req.app.locals.caddy = 'enabled';
}

let docker_volumes = [];

if (image.startsWith('https://')){
Expand Down

0 comments on commit d4211f7

Please sign in to comment.