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.
 
 
 

26 lines
885 B

#!/bin/bash
pod=${AKAUNTING_POD:-akaunting-pod}
img=${AKAUNTING_IMAGE:-harbor.jharmison.com/akaunting/akaunting:latest}
db_img=${AKAUNTING_DB_IMAGE:-docker.io/library/mariadb:latest}
name=${AKAUNTING_NAME:-akaunting}
db_name=${AKAUNTING_DB_NAME:-akaunting-db}
vol=${AKAUNTING_VOLUME:-akaunting-data}
db_vol=${AKAUNTING_DB_VOLUME:-akaunting-db}
port=${AKAUNTING_PORT:-8080}
run_env=$(realpath ${AKAUNTING_RUN_ENV_FILE:-../env/run.env})
db_env=$(realpath ${AKAUNTING_DB_ENV_FILE:-../env/db.env})
if [ "${AKAUNTING_AUTO_UPDATE}" ]; then
extra_labels=(--label io.containers.autoupdate=image)
else
extra_labels=()
fi
# Systemd specific stuff for automatic.sh, ignored otherwise
user_systemd_dir="$HOME/.config/systemd/user"
export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/run/user/$UID}
systemd_units=(
pod-$pod.service
container-$name.service
container-$db_name.service
)