Compare commits

...

2 commits

Author SHA1 Message Date
334ff80a36 Upgrade Nextcloud 2023-12-28 16:52:40 +01:00
e0a03fd158 Remove Limesurvey 2023-12-28 16:52:32 +01:00
2 changed files with 2 additions and 38 deletions

View file

@ -1,36 +0,0 @@
#!/usr/bin/env fish
set -l container_name limesurvey
set -l container_volumes_dir ~/volumes/$container_name
set -l container_limesurvey_dir $container_volumes_dir/limesurvey
mkdir -p $container_limesurvey_dir
set -l db_container_name limesurvey-postgres
set -l db_container_dir $container_volumes_dir/postgres
mkdir -p $db_container_dir
podman-default-create \
$db_container_name \
--network traefik \
-v $db_container_dir:/var/lib/postgresql/data:Z \
-e POSTGRES_DB=limesurvey \
-e POSTGRES_USER=limesurvey \
--env-file $container_volumes_dir/secrets.env \
--label "io.containers.autoupdate=registry" \
docker.io/library/postgres:15
podman-default-create \
$container_name \
--network traefik \
-v $container_limesurvey_dir:/var/www/html/upload/surveys:Z \
-e DB_TYPE=pgsql \
-e DB_HOST=limesurvey-postgres \
-e DB_PORT=5432 \
-e DB_NAME=limesurvey \
-e DB_USERNAME=limesurvey \
-e PUBLIC_URL=https://survey.mo8it.com \
--env-file $container_volumes_dir/secrets.env \
--label "io.containers.autoupdate=registry" \
docker.io/martialblog/limesurvey:5-apache

View file

@ -23,7 +23,7 @@ podman-default-create \
-v $db_container_dir:/var/lib/postgresql/data:Z \
--env-file $db_env_file \
--label "io.containers.autoupdate=registry" \
docker.io/library/postgres:15; or return 1
docker.io/library/postgres:16; or return 1
podman-default-create \
$container_name \
@ -32,4 +32,4 @@ podman-default-create \
-e POSTGRES_HOST=$db_container_name \
--env-file $db_env_file \
--label "io.containers.autoupdate=registry" \
docker.io/library/nextcloud:27-apache
docker.io/library/nextcloud:28-apache