Fix Caddy + Update
This commit is contained in:
parent
38f0908cb4
commit
a22b77b3ef
|
@ -2,3 +2,4 @@
|
||||||
gzip
|
gzip
|
||||||
log stdout
|
log stdout
|
||||||
browse
|
browse
|
||||||
|
tls {$FDROID_REPO_EMAIL}
|
|
@ -7,6 +7,6 @@ DIR=$2
|
||||||
FILE=$3
|
FILE=$3
|
||||||
|
|
||||||
if [ -z "$FILE" ] || [[ "$FILE" == *.apk ]] || [[ "$FILE" == *.yml ]]; then
|
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
|
fi
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@ docker run -it -d \
|
||||||
-v "${PWD}/data/keystore:/fdroid/keystore" \
|
-v "${PWD}/data/keystore:/fdroid/keystore" \
|
||||||
-v "/etc/localtime:/etc/localtime:ro" \
|
-v "/etc/localtime:/etc/localtime:ro" \
|
||||||
-e "FDROID_REPO_HOST=${REPO_HOST}" \
|
-e "FDROID_REPO_HOST=${REPO_HOST}" \
|
||||||
|
-e "FDROID_REPO_EMAIL=${REPO_EMAIL}" \
|
||||||
-e "FDROID_REPO_NAME=${REPO_NAME}" \
|
-e "FDROID_REPO_NAME=${REPO_NAME}" \
|
||||||
-e "FDROID_REPO_DESCRIPTION=${REPO_DESCRIPTION}" \
|
-e "FDROID_REPO_DESCRIPTION=${REPO_DESCRIPTION}" \
|
||||||
-e "FDROID_KEYSTORE_PASS=${KEYSTORE_PASS}" \
|
-e "FDROID_KEYSTORE_PASS=${KEYSTORE_PASS}" \
|
||||||
|
|
|
@ -24,7 +24,7 @@ stderr_logfile=/dev/stderr
|
||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
|
|
||||||
[program:caddy]
|
[program:caddy]
|
||||||
command = caddy -conf /fdroid/Caddyfile
|
command = caddy -agree -conf /fdroid/Caddyfile
|
||||||
directory = /fdroid/repo
|
directory = /fdroid/repo
|
||||||
user = root
|
user = root
|
||||||
autostart = true
|
autostart = true
|
||||||
|
|
Loading…
Reference in New Issue