Compare commits

...

2 commits

Author SHA1 Message Date
7b890f72a9 Remove env vars because of config 2022-10-22 21:51:44 +02:00
42c89a8792 Restrict postgres version 2022-10-22 21:51:32 +02:00
4 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,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:alpine
docker.io/library/postgres:14-alpine
podman-default-create \
$container_name \

View file

@ -29,7 +29,7 @@ podman-default-create \
-v $db_container_dir:/var/lib/postgresql/data:Z \
--env-file $postgres_env_file \
--label "io.containers.autoupdate=registry" \
docker.io/library/postgres:alpine
docker.io/library/postgres:14-alpine
podman-default-create \
$container_name \

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:alpine
docker.io/library/postgres:14-alpine
podman-default-create \
$container_name \

View file

@ -18,7 +18,7 @@ buildah run builder -- tar -xzvf zola.tar.gz
buildah run builder -- rm zola.tar.gz
buildah run builder -- mv zola /usr/local/bin
buildah config --workingdir /volumes/src -e ROCKET_ADDRESS=0.0.0.0 -e ROCKET_PORT=80 -e DATABASE_URL=/volumes/db/db.sqlite builder
buildah config --workingdir /volumes/src -e DATABASE_URL=/volumes/db/db.sqlite builder
buildah config --cmd 'cargo run -r' builder
if systemctl --user is-enabled container-$container_name