Compare commits

...

2 commits

Author SHA1 Message Date
056e760022 Remove the SHOW_ADMIN_EMAIL env var 2023-10-13 15:34:01 +02:00
49499d099b Use dnf upgrade instead of update 2023-10-13 15:33:24 +02:00
2 changed files with 3 additions and 5 deletions

View file

@ -7,14 +7,12 @@ podman-default-create \
$container_name \ $container_name \
--network traefik \ --network traefik \
-v $container_volumes_dir/db:/volumes/db:Z \ -v $container_volumes_dir/db:/volumes/db:Z \
-e SQLALCHEMY_DATABASE_URI=sqlite:////volumes/db/ihatemoney.sqlite \ -e ACTIVATE_ADMIN_DASHBOARD=False \
-e SHOW_ADMIN_EMAIL=False \
-e ACTIVATE_DEMO_PROJECT=False \ -e ACTIVATE_DEMO_PROJECT=False \
-e ALLOW_PUBLIC_PROJECT_CREATION=False \ -e ALLOW_PUBLIC_PROJECT_CREATION=False \
-e ACTIVATE_ADMIN_DASHBOARD=False \
-e BABEL_DEFAULT_TIMEZONE=Europe/Berlin \ -e BABEL_DEFAULT_TIMEZONE=Europe/Berlin \
-e ENABLE_CAPTCHA=True \
-e PORT=80 \ -e PORT=80 \
-e SQLALCHEMY_DATABASE_URI=sqlite:////volumes/db/ihatemoney.sqlite \
--env-file $container_volumes_dir/.env \ --env-file $container_volumes_dir/.env \
--label "io.containers.autoupdate=registry" \ --label "io.containers.autoupdate=registry" \
docker.io/ihatemoney/ihatemoney:latest docker.io/ihatemoney/ihatemoney:latest

View file

@ -14,7 +14,7 @@ buildah from --pull --name builder registry.fedoraproject.org/fedora:latest; or
# Remove the flag that prevents installing docs # Remove the flag that prevents installing docs
buildah run builder -- sed -i /nodocs/d /etc/dnf/dnf.conf buildah run builder -- sed -i /nodocs/d /etc/dnf/dnf.conf
buildah run builder -- dnf update -y buildah run builder -- dnf upgrade -y
# Reinstall packages to install missing docs # Reinstall packages to install missing docs
set -l installed_packages (buildah run builder -- dnf list --installed | tail -n +2 | awk '{print $1}') set -l installed_packages (buildah run builder -- dnf list --installed | tail -n +2 | awk '{print $1}')