Fix Caddy + Update

This commit is contained in:
wpetit 2018-11-20 09:50:42 +01:00
parent 38f0908cb4
commit a22b77b3ef
4 changed files with 5 additions and 3 deletions

View File

@ -2,3 +2,4 @@
gzip
log stdout
browse
tls {$FDROID_REPO_EMAIL}

View File

@ -7,6 +7,6 @@ DIR=$2
FILE=$3
if [ -z "$FILE" ] || [[ "$FILE" == *.apk ]] || [[ "$FILE" == *.yml ]]; then
fdroid update -c --rename-apks --clean
fdroid update --clean --rename-apks --use-date-from-apk --delete-unknown
fi

View File

@ -16,6 +16,7 @@ docker run -it -d \
-v "${PWD}/data/keystore:/fdroid/keystore" \
-v "/etc/localtime:/etc/localtime:ro" \
-e "FDROID_REPO_HOST=${REPO_HOST}" \
-e "FDROID_REPO_EMAIL=${REPO_EMAIL}" \
-e "FDROID_REPO_NAME=${REPO_NAME}" \
-e "FDROID_REPO_DESCRIPTION=${REPO_DESCRIPTION}" \
-e "FDROID_KEYSTORE_PASS=${KEYSTORE_PASS}" \

View File

@ -24,7 +24,7 @@ stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:caddy]
command = caddy -conf /fdroid/Caddyfile
command = caddy -agree -conf /fdroid/Caddyfile
directory = /fdroid/repo
user = root
autostart = true