Compare commits
2 commits
eb5b023796
...
334ff80a36
Author | SHA1 | Date | |
---|---|---|---|
334ff80a36 | |||
e0a03fd158 |
2 changed files with 2 additions and 38 deletions
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue