Migration gitea podman 4.1
This commit is contained in:
parent
9c30a21788
commit
1c1dae3e5b
|
@ -55,7 +55,7 @@ podman image exists ${gitea_image}:${gitea_version} &&
|
|||
podman pull ${postgres_image}:${postgres_version} &&
|
||||
# force refresh of app.ini
|
||||
podman unshare rm -f `get_podman_volume_path ${datavolume}`/gitea/conf/app.ini
|
||||
podman-compose --podman-run-args "--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 gitea to finish starting " &&
|
||||
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'NewServer()' &&
|
||||
echo "OK" &&
|
||||
|
|
|
@ -17,6 +17,7 @@ envvars='GARBAYE_GITEA_POSTGRES_PASSWORD'
|
|||
## internal vars : do not touch
|
||||
project_name=${PWD##*/}
|
||||
pod_name="${project_name}"
|
||||
pod_name="pod_${project_name}"
|
||||
service_name="pod-${pod_name}.service"
|
||||
get_default_iface_ipv4 GARBAYE_GITEA_SMTP_SERVER
|
||||
upstream_images="${gitea_image} ${postgres_image}"
|
||||
|
|
Loading…
Reference in a new issue