mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 01:12:24 +00:00
Docker: Set default storage location and update Rust to 1.87
This commit is contained in:
@@ -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 TARGETPLATFORM
|
||||||
ARG BUILDPLATFORM
|
ARG BUILDPLATFORM
|
||||||
@@ -42,5 +42,7 @@ FROM scratch
|
|||||||
COPY --from=builder /usr/local/cargo/bin/rustical /usr/local/bin/rustical
|
COPY --from=builder /usr/local/cargo/bin/rustical /usr/local/bin/rustical
|
||||||
CMD ["/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"
|
LABEL org.opencontainers.image.authors="Lennart K github.com/lennart-k"
|
||||||
EXPOSE 4000
|
EXPOSE 4000
|
||||||
|
|||||||
@@ -1,11 +1,5 @@
|
|||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
## Manual
|
|
||||||
|
|
||||||
```sh
|
|
||||||
cargo install --locked --git https://github.com/lennart-k/rustical
|
|
||||||
```
|
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
```sh
|
```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)
|
# Must strictly be the URL origin (so no trailing slashes)
|
||||||
allowed_push_servers = ["https://your-instance-ntfy.sh"]
|
allowed_push_servers = ["https://your-instance-ntfy.sh"]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Manual
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cargo install --locked --git https://github.com/lennart-k/rustical
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user