#!/bin/bash set -eo pipefail set -a . "${PWD}/repo.conf" set +a docker run -it -d \ --restart always \ -p 80:80 \ -v "${PWD}/data/repo:/fdroid/repo" \ -v "${PWD}/data/metadata:/fdroid/metadata" \ -v "${PWD}/data/keystore:/fdroid/keystore" \ -e "FDROID_REPO_URL=${REPO_URL}" \ -e "FDROID_REPO_NAME=${REPO_NAME}" \ -e "FDROID_REPO_DESCRIPTION=${REPO_DESCRIPTION}" \ -e "FDROID_KEYSTORE_PASS=${KEYSTORE_PASS}" \ -e "FDROID_KEYSTORE_KEYPASS=${KEYSTORE_KEY_PASS}" \ -e "FDROID_KEYSTORE_KEY_ALIAS=${KEYSTORE_KEY_ALIAS}" \ -e "FDROID_KEYSTORE_DNAME=${KEYSTORE_DNAME}" \ bornholm/fdroid-repository:latest