Merge remote-tracking branch 'origin/master'

# Conflicts:
#	Dockerfile
This commit is contained in:
Harrison Burt 2022-04-03 12:37:36 +01:00
commit 9b18cc3773
2 changed files with 5 additions and 4 deletions

View File

@ -15,10 +15,10 @@ FROM debian:buster-slim
WORKDIR /etc/lust WORKDIR /etc/lust
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y ca-certificates tzdata libssl-dev pkg-config \ && apt-get install -y ca-certificates libssl-dev pkg-config \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
COPY --from=build /app/target/release/lust / COPY --from=build /app/target/release/lust ./
USER root USER root
ENTRYPOINT ["./lust", "--host", "0.0.0.0"] ENTRYPOINT ["./lust", "--host", "0.0.0.0"]

View File

@ -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, 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* 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 ## Getting started
### Creating a config file ### Creating a config file
@ -35,8 +35,9 @@ cargo install lust --git https://github.com/ChillFish8/lust.git
#### Docker Images #### Docker Images
Lust has a set of pre-built, optimised docker images ready to go. Just run it with Lust has a set of pre-built, optimised docker images ready to go. Just run it with
```shell ```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 ### 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 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