Document database connection retries and change alpine repo for catatonit

(cherry picked from commit 88e3835050c0418c060c8e3a704894763ee33aa0)
This commit is contained in:
Daniel García 2020-10-04 14:13:31 +02:00
parent 448e6ac917
commit 8746d36845
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
3 changed files with 6 additions and 2 deletions

View file

@ -82,6 +82,10 @@
## cause performance degradation or might render the service unable to start. ## cause performance degradation or might render the service unable to start.
# ENABLE_DB_WAL=true # ENABLE_DB_WAL=true
## Database connection retries
## Number of times to retry the database connection during startup, with 1 second delay between each retry, set to 0 to retry indefinitely
# DB_CONNECTION_RETRIES=15
## Disable icon downloading ## Disable icon downloading
## Set to true to disable icon downloading, this would still serve icons from $ICON_CACHE_FOLDER, ## Set to true to disable icon downloading, this would still serve icons from $ICON_CACHE_FOLDER,
## but it won't produce any external network request. Needs to set $ICON_CACHE_TTL to 0, ## but it won't produce any external network request. Needs to set $ICON_CACHE_TTL to 0,

View file

@ -242,7 +242,7 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
{% endif %} {% endif %}
{% if "alpine" in target_file and "arm32v7" in target_file %} {% if "alpine" in target_file and "arm32v7" in target_file %}
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing catatonit RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community catatonit
{% endif %} {% endif %}
RUN mkdir /data RUN mkdir /data

View file

@ -79,7 +79,7 @@ RUN apk add --no-cache \
openssl \ openssl \
curl \ curl \
ca-certificates ca-certificates
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing catatonit RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community catatonit
RUN mkdir /data RUN mkdir /data