HedgeDoc - Fix 13/x

This commit is contained in:
KsmoinO 2022-11-19 19:12:56 +01:00
parent bd1b8f4427
commit b127eb7bd3
2 changed files with 7 additions and 6 deletions

View file

@ -75,8 +75,9 @@ if ! podman image exists ${database_image}:${database_version}; then
fi
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 hedgedoc to finish starting " &&
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'HTTP Server listening at ' &&
echo "OK" &&
podman pod stop ${pod_name} &&
echo Pod built and stopped. &&
shred -u .env
podman logs -f ${container_name}
#( podman logs -f ${container_name} 2>&1 & ) | grep -q 'HTTP Server listening at ' &&
#echo "OK" &&
#podman pod stop ${pod_name} &&
#echo Pod built and stopped. &&
#shred -u .env

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
## vars
hedgedoc_image="quay.io/hedgedoc/hedgedoc"
hedgedoc_version='1.9.6'
hedgedoc_version='1.9.6-alpine'
database_image="docker.io/library/postgres"
database_version='14.5-alpine'
## mandatory ENV vars