services-garbaye/podman-privatebin/vars.sh

19 lines
737 B
Bash
Raw Normal View History

#!/usr/bin/env bash
## vars
privatebin_image="git.garbaye.fr/garbaye/privatebin-nginx-fpm-alpine"
2024-11-22 06:47:49 +00:00
privatebin_version='1.7.5-alpine3.20.3'
## default vars : override with ENV var
listen_if="${GARBAYE_PRIVATEBIN_ENV_LISTENIF:-127.0.0.1}"
listen_port="${GARBAYE_PRIVATEBIN_ENV_LISTENPORT:-8084}"
## mandatory ENV vars
upstream_images="${privatebin_image} docker.io/library/alpine"
## internal vars : do not touch
project_name=${PWD##*/}
container_name="${project_name}"
service_name="container-${container_name}.service"
srvdata_volume='privatebin-data'
varlibnginxtmp_volume='privatebin-var-lib-nginx-tmp'
run_volume='privatebin-run'
2022-04-28 18:02:15 +00:00
tmp_volume='privatebin-tmp'
nonpersistent_volumes="${varlibnginxtmp_volume} ${run_volume} ${tmp_volume}"