dev-util/reposilite: Apply some fixes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

Package-Manager: Portage-3.0.4, Repoman-3.0.1
This commit is contained in:
Manuel Friedli 2020-10-08 23:49:55 +02:00
parent d05da8ae57
commit ac40d234eb
5 changed files with 13 additions and 14 deletions

View file

@ -26,7 +26,6 @@ diskQuota: 10GB
repositories [
releases
snapshots
.private
]
# Allow to omit name of the main repository in request
# e.g. /org/panda-lang/reposilite will be redirected to /releases/org/panda-lang/reposilite

View file

@ -8,8 +8,8 @@ fi
. "${DOCKER_REPOSILITE_CONFIG_FILE}"
docker_args="--environment=REPOSILITE_OPTS='${REPOSILITE_OPTS}'"
docker_args="${docker_args} --environment=JAVA_OPTS='${JAVA_OPTS}'"
docker_args="--env=REPOSILITE_OPTS=${REPOSILITE_OPTS}"
docker_args="${docker_args} --env=JAVA_OPTS=${JAVA_OPTS}"
for p in ${DOCKER_PUBLISH} ; do
docker_args="${docker_args} --publish=${p}"
@ -18,8 +18,8 @@ done
docker_args="${docker_args} ${DOCKER_REPOSILITE_EXTRA_ARGS}"
docker run \
--mount type=bind,source=/etc/reposilite/reposilite.cdn,target=/app/reposilite-host.cdn
--volume=/var/lib/reposilite-data:/app/data \
--mount type=bind,source=/etc/reposilite/reposilite.cdn,target=/app/reposilite-host.cdn \
--volume=reposilite-data:/app/data \
${docker_args} \
--restart=always \
--detach=false \