services-garbaye/podman-wpamapsta/vars.sh

19 lines
625 B
Bash
Raw Normal View History

2023-11-15 19:33:24 +00:00
#!/usr/bin/env bash
## vars
wp_image='git.garbaye.fr/garbaye/wordpress'
2024-10-04 18:19:43 +00:00
wp_version='6.6.2-php8.2-apache'
2023-11-15 19:33:24 +00:00
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'