saint

joined 2 years ago
[–] saint@group.lt 1 points 1 year ago
[–] saint@group.lt 1 points 1 year ago

this is very simple solution i have used to clip entries in: https://github.com/blinkinglight/go-journal2

[–] saint@group.lt 5 points 1 year ago

bye bye salt stack

[–] saint@group.lt 1 points 1 year ago

probably could fit into fly.io free tier. also as others have mentioned - oracle oci provides a nice free vm, which can be shut off if usage of resources is low, but you can workaround it by increasing a volume a bit more than free tier allows and pay something like a 1-2$ for it monthly.

[–] saint@group.lt 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.

[–] saint@group.lt 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)

[–] saint@group.lt 1 points 1 year ago

maybe you could create a community and post guides there.

[–] saint@group.lt 3 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 :)

[–] saint@group.lt 1 points 1 year ago

maybe this one is interesting for you: !bofh@group.lt

[–] saint@group.lt 1 points 1 year ago (1 children)

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

[–] saint@group.lt 6 points 1 year ago (2 children)

any errors you could show us?

view more: ‹ prev next ›