services-garbaye/podman-wpamapsta/vars.sh
2024-02-16 18:37:23 +01:00

19 lines
625 B
Bash

#!/usr/bin/env bash
## vars
wp_image='git.garbaye.fr/garbaye/wordpress'
wp_version='6.4.3-php8.1-apache'
mysql_image='docker.io/library/mariadb'
mysql_version='10.11'
## default vars : override with ENV var
listen_if="${GARBAYE_WPAMAPSTA_ENV_LISTENIF:-127.0.0.1}"
listen_port="${GARBAYE_WPAMAPSTA_ENV_LISTENPORT:-8092}"
## mandatory ENV vars
envvars='GARBAYE_WPAMAPSTA_MYSQL_PASSWORD'
## internal vars : do not touch
project_name=${PWD##*/}
pod_name="pod_${project_name}"
service_name="pod-${pod_name}.service"
upstream_images="${wp_image} docker.io/library/php"
dbvolume='podman-wpamapsta_db'
wpvolume='podman-wpamapsta_wp'