saint

joined 3 years ago
MODERATOR OF
 

Seni krienai tauzyja apie IT

 

Interesting study

 

What about yours? What do you predict?

2
New book on Wilhelm Reich (www.rawillumination.net)
[–] [email protected] 1 points 1 year ago (1 children)

you should run ansible playbooks again. also you could just try to remove the line from nginx config on the server.

[–] [email protected] 1 points 1 year ago (3 children)

try to remove listen [::]:80; line in nginx.conf template (https://github.com/LemmyNet/lemmy-ansible/blob/main/templates/nginx.conf)

[–] [email protected] 1 points 1 year ago

maybe you could create a community and post guides there.

[–] [email protected] 3 points 1 year ago (1 children)

I use https://www.talkwalker.com/alerts to setup notifications via RSS on keywords that are interesting to me.

[–] [email protected] 0 points 1 year ago (1 children)

Maybe this book would be of interest to you: https://en.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar . It is a bit dated, but nevertheless great read about OpenSource movement.

[–] [email protected] 5 points 1 year 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] 2 points 1 year ago

maybe this one is interesting for you: [email protected]

[–] [email protected] 1 points 1 year ago

i have heard good things about https://github.com/pgrok/pgrok . also they have a link to huge list of various tunnels - maybe you will find something you need there.

[–] [email protected] 12 points 1 year ago (1 children)

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] 1 points 1 year ago (1 children)

how does the ip start? 192.x or 10.x maybe?

[–] [email protected] 6 points 1 year ago (2 children)

any errors you could show us?

view more: ‹ prev next ›