22
submitted 23 hours ago by [email protected] to c/[email protected]

What is your experience?

26
submitted 1 day ago by [email protected] to c/[email protected]
21
submitted 1 day ago by [email protected] to c/[email protected]
10
submitted 2 days ago by [email protected] to c/[email protected]
7
submitted 2 days ago by [email protected] to c/[email protected]
2
submitted 3 days ago by [email protected] to c/[email protected]

Seni krienai tauzyja apie IT

6
submitted 4 days ago by [email protected] to c/[email protected]
13
submitted 4 days ago by [email protected] to c/[email protected]
5
submitted 4 days ago by [email protected] to c/[email protected]
74
submitted 6 days ago by [email protected] to c/[email protected]
3
submitted 1 week ago by [email protected] to c/[email protected]
5
submitted 1 week ago by [email protected] to c/[email protected]

Interesting study

[-] [email protected] 56 points 3 weeks ago

well this is probably PR as there is no such system nor it can be made that can have 100% uptime. not talking about the fact that network engineers rarely work with servers :)

[-] [email protected] 10 points 2 months ago

first you should check logs of cloudflare tunnel - most likely it cannot access your docker network. if you are using cloudflare container - it should use same network as a Immich instance.

in short: find the tunnel log and see what is happening there.

[-] [email protected] 20 points 4 months ago

matrix I, skipped classes and watch it more than ten times in cinema.

[-] [email protected] 39 points 6 months ago

That's my kind of people!

[-] [email protected] 12 points 6 months ago

Any observed impact to performance?

[-] [email protected] 9 points 7 months ago

read books, play games, watch tv, walk the dog, love my wife, sleep

[-] [email protected] 8 points 7 months ago

pricing changes, i.e. - removing free tier and increasing other plan prices.

[-] [email protected] 9 points 7 months ago

hi,

i am using this

root@instance-20211112-2005:/opt/lemmy/lemmy/docker# cat Dockerfile.arm64
FROM rust:1.70.0 as builder
WORKDIR /app

COPY . .

# This can be set to release using --build-arg
ARG RUST_RELEASE_MODE="debug"

COPY . .

# Build the project

# Debug mode build
RUN --mount=type=cache,target=/app/target \
    if [ "$RUST_RELEASE_MODE" = "debug" ] ; then \
      echo "pub const VERSION: &str = \"$(git describe --tag)\";" > "crates/utils/src/version.rs" \
      && cargo build \
      && cp ./target/$RUST_RELEASE_MODE/lemmy_server /app/lemmy_server; \
    fi

# Release mode build
RUN \
    if [ "$RUST_RELEASE_MODE" = "release" ] ; then \
      echo "pub const VERSION: &str = \"$(git describe --tag)\";" > "crates/utils/src/version.rs" \
      && cargo build --release \
      && cp ./target/$RUST_RELEASE_MODE/lemmy_server /app/lemmy_server; \
    fi

FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y libpq5 ca-certificates && rm -rf /var/lib/apt/lists/*

COPY --from=builder /app/lemmy_server /app/lemmy

CMD ["/app/lemmy"]

Also Lemmy developers are working on cross build - so it should be available in the future I hope :)

[-] [email protected] 11 points 8 months ago

yay! thank you all!

i have made a not-so-quick-but-dirty Dockerfile to build on arm64

FROM rust:1.70.0
WORKDIR /app

COPY . .

RUN echo "pub const VERSION: &str = \"$(git describe --tag)\";" > "crates/utils/src/version.rs"
RUN cargo build --release

RUN apt update
RUN apt -y install libpq5
RUN cp /app/target/release/lemmy_server /app/lemmy

CMD ["/app/lemmy"]

later I am planning to improve it a bit, to make the image smaller if i can

[-] [email protected] 9 points 8 months ago

in addition to all other good comments - if you will ever decide to move out service to another server or something like that - moving subdomains will be much easier.

[-] [email protected] 10 points 8 months ago

it works fine, depending on popularity of your instance - you might have to add more resources in the future.

as for aarch64 - there are docker images available for lemmy and lemmy-ui

view more: next ›

saint

joined 2 years ago
MODERATOR OF