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 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 && 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 " && 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}
echo "OK" && #( podman logs -f ${container_name} 2>&1 & ) | grep -q 'HTTP Server listening at ' &&
podman pod stop ${pod_name} && #echo "OK" &&
echo Pod built and stopped. && #podman pod stop ${pod_name} &&
shred -u .env #echo Pod built and stopped. &&
#shred -u .env

View file

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