linx-server
linx-server copied to clipboard
'extra-footer-text' (linx-server.conf) doesn't work
Hello,
I would like to report that the 'extra-footer-text' variable is not working as it should when enabled in the 'linx-server.conf' file.
The container fails to start, showing the following error:
iniflags: unknown flag name=[extra-footer-text] found at line [49] of file [/data/linx-server.conf]
Thank you.
Hello, This is due to the docker container being woefully out of date. I will have to update it sometime.
Hello, This is due to the docker container being woefully out of date. I will have to update it sometime.
I have created a revised container file, it would need slight modification due to how I use this as a submodule but it is here https://github.com/r-Techsupport/linx-container/blob/main/Containerfile
Something like the below should work
FROM golang:1.22-alpine3.20 AS build
RUN set -ex \
&& apk add --no-cache --virtual .build-deps git
COPY . /app
WORKDIR /app
RUN mkdir dist && go build -o dist/
FROM alpine:3.20
COPY --from=build /app/dist/linx-server /app/linx-server
ENV SSL_CERT_FILE /etc/ssl/cert.pem
COPY static /app/static/
COPY templates /app/templates/
RUN mkdir -p /data/files && mkdir -p /data/meta && mkdir -p /data/locks && chown -R 65534:65534 /data
VOLUME ["/data/files", "/data/meta", "/data/locks"]
EXPOSE 8080
USER nobody
ENTRYPOINT ["/app/linx-server", "-bind=0.0.0.0:8080", "-filespath=/data/files/", "-metapath=/data/meta/", "-lockspath=/data/locks/"]
CMD ["-sitename=linx", "-allowhotlink"]
You can pull the container I will maintain for my community with docker pull ghcr.io/r-techsupport/linx:latest