The repo I use to run gitea and caddy all in docker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
342 B

#!/usr/bin/env bash
export PATH="/usr/local/bin:/usr/bin:/bin"
CURRENT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
BACKUP_COMMAND="/usr/local/bin/docker-compose run --rm --user=git --volume=$CURRENT_DIR/backups:/backups --workdir=/backups gitea gitea dump"
# shellcheck disable=SC2086