HedgeDoc - Fix 15/x
This commit is contained in:
parent
34b9246432
commit
898e096005
|
@ -60,6 +60,8 @@ MYSQL_PASSWORD=${GARBAYE_HEDGEDOC_DATABASE_PASSWORD}
|
||||||
MYSQL_DATABASE=hedgedoc
|
MYSQL_DATABASE=hedgedoc
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
cat .env
|
||||||
|
|
||||||
export hedgedoc_image
|
export hedgedoc_image
|
||||||
export hedgedoc_version
|
export hedgedoc_version
|
||||||
export database_image
|
export database_image
|
||||||
|
@ -71,7 +73,7 @@ if ! podman image exists ${hedgedoc_image}:${hedgedoc_version}; then
|
||||||
podman image pull ${hedgedoc_image}:${hedgedoc_version} || exit 1
|
podman image pull ${hedgedoc_image}:${hedgedoc_version} || exit 1
|
||||||
fi
|
fi
|
||||||
if ! podman image exists ${database_image}:${database_version}; then
|
if ! podman image exists ${database_image}:${database_version}; then
|
||||||
podman pull ${database_image}:${database_version} || exit 1
|
podman image pull ${database_image}:${database_version} || exit 1
|
||||||
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 " &&
|
||||||
|
|
|
@ -11,7 +11,7 @@ project_name=${PWD##*/}
|
||||||
pod_name="pod_${project_name}"
|
pod_name="pod_${project_name}"
|
||||||
service_name="pod-${pod_name}.service"
|
service_name="pod-${pod_name}.service"
|
||||||
upstream_images="${hedgedoc_image} ${postgres_image}"
|
upstream_images="${hedgedoc_image} ${postgres_image}"
|
||||||
datavolume="${project_name}_data"
|
datavolume="data"
|
||||||
dbvolume="${project_name}_database"
|
dbvolume="database"
|
||||||
container_name="${project_name}_app"
|
container_name="${project_name}_app"
|
||||||
db_container_name="${project_name}_database"
|
db_container_name="${project_name}_database"
|
||||||
|
|
Loading…
Reference in a new issue