Merge branch 'main' into ugly-layouts

This commit is contained in:
Ayaka 2024-06-15 17:32:35 +12:00
commit 013e805ece
3 changed files with 9 additions and 7 deletions

View File

@ -4,7 +4,7 @@ FROM rust:alpine AS builder
RUN apk add --no-cache musl-dev git RUN apk add --no-cache musl-dev git
WORKDIR /redlib WORKDIR /redsunlib
COPY . . COPY . .
@ -19,16 +19,16 @@ COPY --from=builder /usr/share/ca-certificates /usr/share/ca-certificates
COPY --from=builder /etc/ssl/certs /etc/ssl/certs COPY --from=builder /etc/ssl/certs /etc/ssl/certs
# Copy our build # Copy our build
COPY --from=builder /redlib/target/x86_64-unknown-linux-musl/release/redlib /usr/local/bin/redlib COPY --from=builder /redsunlib/target/x86_64-unknown-linux-musl/release/redsunlib /usr/local/bin/redsunlib
# Use an unprivileged user. # Use an unprivileged user.
RUN adduser --home /nonexistent --no-create-home --disabled-password redlib RUN adduser --home /nonexistent --no-create-home --disabled-password redsunlib
USER redlib USER redsunlib
# Tell Docker to expose port 8080 # Tell Docker to expose port 8080
EXPOSE 8080 EXPOSE 8080
# Run a healthcheck every minute to make sure redlib is functional # Run a healthcheck every minute to make sure redsunlib is functional
HEALTHCHECK --interval=1m --timeout=3s CMD wget --spider -q http://localhost:8080/settings || exit 1 HEALTHCHECK --interval=1m --timeout=3s CMD wget --spider -q http://localhost:8080/settings || exit 1
CMD ["redlib"] CMD ["redsunlib"]

View File

@ -1517,6 +1517,7 @@ summary.comment_data {
box-shadow: var(--shadow); box-shadow: var(--shadow);
margin-left: 20px; margin-left: 20px;
background: var(--foreground); background: var(--foreground);
width: 30%;
} }
aside.prefs { aside.prefs {

View File

@ -1,8 +1,9 @@
/* Catppuccin theme setting */
.catppuccin { .catppuccin {
--accent: #b4befe; /* lavender */ --accent: #b4befe; /* lavender */
--green: #a6e3a1; /* green */ --green: #a6e3a1; /* green */
--text: #cdd6f4; /* text */ --text: #cdd6f4; /* text */
--foreground: #11111b; /* crust */ --foreground: #181825; /* mantle */
--background: #1e1e2e; /* base */ --background: #1e1e2e; /* base */
--outside: #11111b; /* crust */ --outside: #11111b; /* crust */
--post: #11111b; /* crust */ --post: #11111b; /* crust */