You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use fly, but it is asking me to add card details even for 256MB machine,
so I am trying to imitate the same steps on fl0 - https://www.fl0.com
by setting the same environment variables in the fl0 machine on website, and using Dockerfile
but for some reason, it finishes the build but fails to deploy with Status Reason: CrashLoopBackoff
Could you please help? I have not used Dockerfile before so I am not sure why it is crashing
Thank you
Dockerfile
ARG APP_NAME=linkding
ARG ALPINE_IMAGE_TAG=3.14
ARG LINKDING_IMAGE_TAG=latest
FROM docker.io/alpine:$ALPINE_IMAGE_TAG as builder
ARG APP_NAME
ENV APP_NAME=$APP_NAME
ARG LITESTREAM_VERSION=v0.3.11
# Download the static build of Litestream directly into the path & make it executable.# This is done in the builder and copied as the chmod doubles the size.
ADD https://github.com/benbjohnson/litestream/releases/download/$LITESTREAM_VERSION/litestream-$LITESTREAM_VERSION-linux-amd64.tar.gz /tmp/litestream.tar.gz
RUN tar -C /usr/local/bin -xzf /tmp/litestream.tar.gz
# Pull linkding docker image.
FROM docker.io/sissbruecker/linkding:$LINKDING_IMAGE_TAG
ARG APP_NAME
ENV APP_NAME=$APP_NAME
VOLUME /etc/linkding
VOLUME /etc/linkding/data
ENV DB_PATH="/etc/linkding/data/db.sqlite3"
ENV LD_SERVER_PORT="9090"
ENV LITESTREAM_REPLICA_PATH="linkding_replica.sqlite3"
ENV LITESTREAM_REPLICA_BUCKET="somename"
ENV LITESTREAM_REPLICA_ENDPOINT="someurl.backblazeb2.com"# Copy Litestream from builder.
COPY --from=builder /usr/local/bin/litestream /usr/local/bin/litestream
# Copy Litestream configuration file.
COPY etc/litestream.yml /etc/litestream.yml
# Copy custom uwsgi. This allows to run with 256MB RAM.
COPY uwsgi.ini /etc/linkding/uwsgi.ini
# Copy startup script and make it executable.
COPY scripts/run.sh /scripts/run.sh
RUN chmod +x /scripts/run.sh
# Litestream spawns linkding's webserver as subprocess.
CMD ["/scripts/run.sh"]
The text was updated successfully, but these errors were encountered:
I tried to use fly, but it is asking me to add card details even for 256MB machine,
so I am trying to imitate the same steps on fl0 - https://www.fl0.com
by setting the same environment variables in the fl0 machine on website, and using Dockerfile
but for some reason, it finishes the build but fails to deploy with
Status Reason: CrashLoopBackoff
Could you please help? I have not used Dockerfile before so I am not sure why it is crashing
Thank you
Dockerfile
The text was updated successfully, but these errors were encountered: