framadate : switch to mariadb
This commit is contained in:
parent
054825de48
commit
79dd00d85d
|
@ -28,13 +28,15 @@ EOT
|
|||
|
||||
export framadate_image
|
||||
export framadate_version
|
||||
export mysql_image
|
||||
export mysql_version
|
||||
export listen_if
|
||||
export listen_port
|
||||
|
||||
if ! podman image exists ${framadate_image}:${framadate_version}; then
|
||||
podman pull ${framadate_image}:${framadate_version}
|
||||
fi
|
||||
podman pull docker.io/library/mysql:5.7 &&
|
||||
podman pull ${mysql_image}:${mysql_version} &&
|
||||
|
||||
podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d &&
|
||||
echo -n "Waiting for initialization to end... " &&
|
||||
|
|
|
@ -2,7 +2,7 @@ version: '3'
|
|||
services:
|
||||
framadate-db:
|
||||
container_name: framadate-db
|
||||
image: docker.io/library/mysql:5.7
|
||||
image: "${mysql_image}:${mysql_version}"
|
||||
environment:
|
||||
- MYSQL_USER=framadate
|
||||
- MYSQL_DATABASE=framadate
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
## vars
|
||||
framadate_image='git.garbaye.fr/garbaye/framadate-app'
|
||||
framadate_version='1.1.19'
|
||||
mysql_image='docker.io/library/mariadb'
|
||||
mysql_version='10.10'
|
||||
## default vars : override with ENV var
|
||||
listen_if="${GARBAYE_FRAMADATE_ENV_LISTENIF:-127.0.0.1}"
|
||||
listen_port="${GARBAYE_FRAMADATE_ENV_LISTENPORT:-8087}"
|
||||
|
|
Loading…
Reference in a new issue