Fix Caddy + Update
This commit is contained in:
parent
38f0908cb4
commit
a22b77b3ef
|
@ -1,4 +1,5 @@
|
|||
{$FDROID_REPO_HOST}
|
||||
gzip
|
||||
log stdout
|
||||
browse
|
||||
browse
|
||||
tls {$FDROID_REPO_EMAIL}
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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}" \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue