From ccc7306f48106e385486de45185eee1f68e7d151 Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Mon, 5 Sep 2022 19:51:22 +0200 Subject: [PATCH] Add AUTOMATIC1111 and lstein WebUIs (#32) * Lstein * Add AUTOMATIC1111 and lstein UIs * Update Workflow --- .github/workflows/docker.yml | 18 ++++++++++--- AUTOMATIC1111/Dockerfile | 44 ++++++++++++++++++++++++++++++++ AUTOMATIC1111/README.md | 12 +++++++++ AUTOMATIC1111/config.json | 3 +++ AUTOMATIC1111/docker-compose.yml | 20 +++++++++++++++ AUTOMATIC1111/mount.sh | 28 ++++++++++++++++++++ README.md | 9 +++++-- docker-compose.yml | 2 +- {build => hlky}/Dockerfile | 0 {build => hlky}/info.py | 0 {build => hlky}/mount.sh | 0 lstein/Dockerfile | 29 +++++++++++++++++++++ lstein/README.md | 14 ++++++++++ lstein/docker-compose.yml | 21 +++++++++++++++ models/.gitignore | 1 + 15 files changed, 195 insertions(+), 6 deletions(-) create mode 100644 AUTOMATIC1111/Dockerfile create mode 100644 AUTOMATIC1111/README.md create mode 100644 AUTOMATIC1111/config.json create mode 100644 AUTOMATIC1111/docker-compose.yml create mode 100644 AUTOMATIC1111/mount.sh rename {build => hlky}/Dockerfile (100%) rename {build => hlky}/info.py (100%) rename {build => hlky}/mount.sh (100%) mode change 100755 => 100644 create mode 100644 lstein/Dockerfile create mode 100644 lstein/README.md create mode 100644 lstein/docker-compose.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 78e7e01..3d6a0ce 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,11 +2,23 @@ name: Build Image on: [push] +# TODO: how to cache intermediate images? jobs: - build_docker: + build_hlky: runs-on: ubuntu-latest - name: Make sure the image builds + name: Build hlky steps: - uses: actions/checkout@v3 - # TODO: how to cache intermediate images? - run: docker compose build --progress plain + build_AUTOMATIC1111: + runs-on: ubuntu-latest + name: Build AUTOMATIC1111 + steps: + - uses: actions/checkout@v3 + - run: cd AUTOMATIC1111 && docker compose build --progress plain + build_lstein: + runs-on: ubuntu-latest + name: Build lstein + steps: + - uses: actions/checkout@v3 + - run: cd lstein && docker compose build --progress plain diff --git a/AUTOMATIC1111/Dockerfile b/AUTOMATIC1111/Dockerfile new file mode 100644 index 0000000..d7027f4 --- /dev/null +++ b/AUTOMATIC1111/Dockerfile @@ -0,0 +1,44 @@ +# syntax=docker/dockerfile:1 + +FROM alpine/git:2.36.2 as download +RUN <