mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-03-01 00:06:48 +08:00
Merge pull request #2541 from steffenmalisi/feature/imaginary-port
Makes imaginary port configurable
This commit is contained in:
commit
cf9220c6b7
1 changed files with 4 additions and 2 deletions
|
@ -23,11 +23,13 @@ RUN set -ex; \
|
|||
|
||||
COPY --from=go /go/bin/imaginary /usr/local/bin/imaginary
|
||||
|
||||
ENV PORT 9000
|
||||
|
||||
USER nobody
|
||||
|
||||
# https://github.com/h2non/imaginary#memory-issues
|
||||
ENV MALLOC_ARENA_MAX=2
|
||||
ENTRYPOINT ["imaginary", "-p", "9000", "-return-size", "-max-allowed-resolution", "222.2"]
|
||||
ENTRYPOINT ["imaginary", "-return-size", "-max-allowed-resolution", "222.2"]
|
||||
|
||||
HEALTHCHECK CMD nc -z localhost 9000 || exit 1
|
||||
HEALTHCHECK CMD nc -z localhost "$PORT" || exit 1
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
||||
|
|
Loading…
Reference in a new issue