From 0659999d56108306c63dfd5948fcd8d75c2ab9e3 Mon Sep 17 00:00:00 2001 From: lllllllillllllillll <147879489+lllllllillllllillll@users.noreply.github.com> Date: Sat, 11 Nov 2023 00:04:36 -0800 Subject: [PATCH] v0.04.md updated instructions for setup script or docker --- README.md | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5aad3ab..2fb438b 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,40 @@ Requirements: Docker ## Setup -* Download DweebUI.zip. +* Docker compose.yaml: ``` -Extract DweebUI.zip and navigate to /DweebUI/ -CMD: docker compose up --build +services: +  dweebui: +    container_name: DweebUI +    image: lllllllillllllillll/dweebui:v0.04 +    ports: +      - 8000:8000 +    depends_on: +      - cache +    links: +      - cache +    volumes: +      - dweebui:/app +      - /var/run/docker.sock:/var/run/docker.sock +  cache: +    container_name: DweebCache +    image: redis:6.2-alpine +    restart: always +    command: redis-server --save 20 1 --loglevel warning --requirepass eYVX7EwVmmxKPCDmwMtyKVge8oLd2t81 +    volumes: +      - cache:/data +  +volumes: +  dweebui: +  cache: +``` + +* Using setup.sh: +``` +Extract DweebUI.zip and navigate to /DweebUI +cd DweebUI +chmod +x setup.sh +sudo ./setup.sh ``` Once setup is complete, I recommend installing Caddy first, then something like code-server. The template is very rough.