Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
ac75333b99
|
@ -34,7 +34,6 @@ export listen_port
|
||||||
if ! podman image exists ${framadate_image}:${framadate_version}; then
|
if ! podman image exists ${framadate_image}:${framadate_version}; then
|
||||||
podman pull ${framadate_image}:${framadate_version}
|
podman pull ${framadate_image}:${framadate_version}
|
||||||
fi
|
fi
|
||||||
podman pull docker.io/library/php:7-apache &&
|
|
||||||
podman pull docker.io/library/mysql:5.7 &&
|
podman pull docker.io/library/mysql:5.7 &&
|
||||||
|
|
||||||
podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d &&
|
podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d &&
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
## vars
|
## vars
|
||||||
gitea_image="git.garbaye.fr/garbaye/gitea"
|
gitea_image="git.garbaye.fr/garbaye/gitea"
|
||||||
gitea_version='1.17.3'
|
gitea_version='1.17.4'
|
||||||
postgres_image="docker.io/library/postgres"
|
postgres_image="docker.io/library/postgres"
|
||||||
postgres_version='14'
|
postgres_version='14'
|
||||||
## default vars : override with ENV var
|
## default vars : override with ENV var
|
||||||
|
|
|
@ -87,6 +87,6 @@ podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --sha
|
||||||
echo -n "Waiting for hedgedoc to finish starting " &&
|
echo -n "Waiting for hedgedoc to finish starting " &&
|
||||||
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'HTTP Server listening at ' &&
|
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'HTTP Server listening at ' &&
|
||||||
echo "OK" &&
|
echo "OK" &&
|
||||||
podman pod stop --time 30 ${pod_name} &&
|
podman pod stop ${pod_name} &&
|
||||||
echo Pod built and stopped. &&
|
echo Pod built and stopped. &&
|
||||||
shred -u .env
|
shred -u .env
|
||||||
|
|
Loading…
Reference in a new issue