2022-11-19 13:19:37 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
## vars
|
|
|
|
hedgedoc_image="quay.io/hedgedoc/hedgedoc"
|
|
|
|
hedgedoc_version='1.9.6'
|
|
|
|
database_image="docker.io/library/postgres"
|
|
|
|
database_version='14.5-alpine'
|
|
|
|
## mandatory ENV vars
|
|
|
|
envvars='GARBAYE_HEDGEDOC_DATABASE_PASSWORD GARBAYE_HEDGEDOC_ENV_DOMAIN'
|
|
|
|
## internal vars : do not touch
|
|
|
|
project_name=${PWD##*/}
|
|
|
|
pod_name="pod_${project_name}"
|
|
|
|
service_name="pod-${pod_name}.service"
|
|
|
|
upstream_images="${hedgedoc_image} ${postgres_image}"
|
|
|
|
datavolume='podman-hedgedoc_data'
|
|
|
|
dbvolume='podman-hedgedoc_database'
|
|
|
|
uploadsvolume='podman-hedgedoc_uploads'
|
2022-11-19 13:43:32 +00:00
|
|
|
container_name='app'
|
|
|
|
db_container_name='database'
|