From 09b3e4d8987f9e415234845209024865c62bdaf6 Mon Sep 17 00:00:00 2001 From: Harrison Burt <57491488+ChillFish8@users.noreply.github.com> Date: Thu, 31 Mar 2022 13:24:59 +0100 Subject: [PATCH 1/6] Update Dockerfile --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7207e4e..4e5089d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,9 +14,8 @@ FROM debian:buster-slim WORKDIR /etc/lust -RUN apt-get update \ - && apt-get install -y ca-certificates tzdata \ - && rm -rf /var/lib/apt/lists/* +RUN apt-get update +RUN apt-get install libssl-dev pkg-config -y COPY --from=build /app/target/release/lust / USER root From 98bb5a9e2efb3ad5604eb40cd63c9b18c3ad1baa Mon Sep 17 00:00:00 2001 From: Harrison Burt <57491488+ChillFish8@users.noreply.github.com> Date: Thu, 31 Mar 2022 13:25:59 +0100 Subject: [PATCH 2/6] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4e5089d..086f129 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ WORKDIR /etc/lust RUN apt-get update RUN apt-get install libssl-dev pkg-config -y -COPY --from=build /app/target/release/lust / +COPY --from=build /app/target/release/lust ./ USER root ENTRYPOINT ["./lust", "--host", "0.0.0.0"] From 507c8e9d81b044ecdb56838d3e60d6435e08d849 Mon Sep 17 00:00:00 2001 From: Harrison Burt <57491488+ChillFish8@users.noreply.github.com> Date: Thu, 31 Mar 2022 13:47:24 +0100 Subject: [PATCH 3/6] Remove redundant deps --- Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 086f129..76bbce4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,9 +14,6 @@ FROM debian:buster-slim WORKDIR /etc/lust -RUN apt-get update -RUN apt-get install libssl-dev pkg-config -y - COPY --from=build /app/target/release/lust ./ USER root From c1b6cf193aaa3a116b3264323c81cce0fd3895eb Mon Sep 17 00:00:00 2001 From: Harrison Burt <57491488+ChillFish8@users.noreply.github.com> Date: Thu, 31 Mar 2022 16:10:47 +0100 Subject: [PATCH 4/6] Revert removal of libssl --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 76bbce4..086f129 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,9 @@ FROM debian:buster-slim WORKDIR /etc/lust +RUN apt-get update +RUN apt-get install libssl-dev pkg-config -y + COPY --from=build /app/target/release/lust ./ USER root From 80c055c73717791e42df29ea529d50ce9d280820 Mon Sep 17 00:00:00 2001 From: Harrison Burt <57491488+ChillFish8@users.noreply.github.com> Date: Thu, 31 Mar 2022 17:45:21 +0100 Subject: [PATCH 5/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 74c48e2..c097c39 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Re-encode uploaded images into `png`, `jpeg`, `webp` or even into `gif` based fo Resize them to your liking automatically with sizing presets, instantly create small, medium and large variants with just a few line in a config file. *Now that's the spirit of lust* -And much more like caching, on the fly resizing, processing modes to name a few. +And much more like caching, on the fly resizing and diffrent processing modes to name a few. ## Getting started ### Creating a config file From bd51c120e5257962ebed9cae1a2125b3acbbb709 Mon Sep 17 00:00:00 2001 From: Harrison Burt <57491488+ChillFish8@users.noreply.github.com> Date: Fri, 1 Apr 2022 09:56:17 +0100 Subject: [PATCH 6/6] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c097c39..d2826ea 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,9 @@ cargo install lust --git https://github.com/ChillFish8/lust.git #### Docker Images Lust has a set of pre-built, optimised docker images ready to go. Just run it with ```shell -docker run -v "my_config.yaml:/var/lust/my_config.yaml" chillfish8/lust:latest --config-file "/var/lust/my_config.yaml" +docker run -v "my_configs:/var/lust/" chillfish8/lust:latest --config-file "/var/lust/config.yaml" ``` +*Note: Assuming there is a folder called `my_configs` with a `config.yaml` file in it.* ### After Installation Once you're up and running navigate to `http://127.0.0.1:8000/ui` or `/ui` of what ever port your server is running on