2022-02-13 21:49:28 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-08-15 08:31:39 +00:00
|
|
|
privatebin_image="git.garbaye.fr/garbaye/privatebin-nginx-fpm-alpine"
|
|
|
|
privatebin_version='1.4.0-alpine3.16'
|
2022-02-13 21:49:28 +00:00
|
|
|
container_name='my-privatebin'
|
|
|
|
service_name="container-${container_name}.service"
|
|
|
|
listen_if="${GARBAYE_PRIVATEBIN_ENV_LISTENIF:-127.0.0.1}"
|
|
|
|
listen_port="${GARBAYE_PRIVATEBIN_ENV_LISTENPORT:-8084}"
|
|
|
|
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}"
|
2022-08-15 08:31:39 +00:00
|
|
|
upstream_images="${privatebin_image} docker.io/library/alpine'
|