diff --git a/Dockerfile b/Dockerfile index 5dd4dbf..1daeecb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM rust:1.86-alpine AS chef +FROM --platform=$BUILDPLATFORM rust:1.87-alpine AS chef ARG TARGETPLATFORM ARG BUILDPLATFORM @@ -42,5 +42,7 @@ FROM scratch COPY --from=builder /usr/local/cargo/bin/rustical /usr/local/bin/rustical CMD ["/usr/local/bin/rustical"] +ENV RUSTICAL_DATA_STORE__SQLITE__DB_URL: /var/lib/rustical/db.sqlite3 + LABEL org.opencontainers.image.authors="Lennart K github.com/lennart-k" EXPOSE 4000 diff --git a/docs/installation.md b/docs/installation.md index 6b642c7..9f191c8 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -1,11 +1,5 @@ # Installation -## Manual - -```sh -cargo install --locked --git https://github.com/lennart-k/rustical -``` - ## Docker ```sh @@ -85,3 +79,9 @@ Since push messages are currently not encrypted you might potentially want to en # Must strictly be the URL origin (so no trailing slashes) allowed_push_servers = ["https://your-instance-ntfy.sh"] ``` + +## Manual + +```sh +cargo install --locked --git https://github.com/lennart-k/rustical +```