privatebin : maj 1.4.0-alpine3.15.4
This commit is contained in:
parent
ac037f0fc6
commit
fb82863c97
|
@ -17,12 +17,14 @@ sed -i "s#mv cfg lib tpl vendor /srv#mv cfg lib tpl vendor /srv \&\& sed -i \\'/
|
|||
podman build -t privatebin-nginx-fpm-alpine docker-nginx-fpm-alpine &&
|
||||
rm -rf docker-nginx-fpm-alpine &&
|
||||
podman volume create ${run_volume} &&
|
||||
podman volume create ${tmp_volume} &&
|
||||
podman volume create ${varlibnginxtmp_volume} &&
|
||||
podman unshare chown -R 65534:82 `get_podman_volume_path ${run_volume}` &&
|
||||
podman unshare chown -R 65534:82 `get_podman_volume_path ${varlibnginxtmp_volume}` &&
|
||||
podman run -d --read-only --restart=always --name ${container_name} \
|
||||
-p ${listen_if}:${listen_port}:8080 \
|
||||
-v ${run_volume}:/run:Z \
|
||||
-v ${tmp_volume}:/run:Z \
|
||||
-v ${srvdata_volume}:/srv/data:Z \
|
||||
-v ${varlibnginxtmp_volume}:/var/lib/nginx/tmp:Z \
|
||||
privatebin-nginx-fpm-alpine &&
|
||||
|
|
|
@ -7,6 +7,7 @@ listen_port="${GARBAYE_PRIVATEBIN_ENV_LISTENPORT:-8084}"
|
|||
srvdata_volume='privatebin-data'
|
||||
varlibnginxtmp_volume='privatebin-var-lib-nginx-tmp'
|
||||
run_volume='privatebin-run'
|
||||
nonpersistent_volumes="${varlibnginxtmp_volume} ${run_volume}"
|
||||
tmp_volume='privatebin-tmp'
|
||||
nonpersistent_volumes="${varlibnginxtmp_volume} ${run_volume} ${tmp_volume}"
|
||||
upstream_images='localhost/privatebin-nginx-fpm-alpine docker.io/library/alpine'
|
||||
version='1.3.5-alpine3.15.2'
|
||||
version='1.4.0-alpine3.15.4'
|
||||
|
|
Loading…
Reference in a new issue