Add or return 1

This commit is contained in:
Mo 2023-10-08 05:00:03 +02:00
parent 258e5c1002
commit 32bb219467
2 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
set -l container_name oxitraffic set -l container_name oxitraffic
set -l container_volumes_dir ~/volumes/$container_name set -l container_volumes_dir ~/volumes/$container_name
buildah build -t $container_name:latest ~/code/oxitraffic buildah build -t $container_name:latest ~/code/oxitraffic; or return 1
set -l db_container_name oxitraffic-db set -l db_container_name oxitraffic-db
set -l db_env_file $container_volumes_dir/.postgres.env set -l db_env_file $container_volumes_dir/.postgres.env
@ -16,7 +16,7 @@ podman-default-create \
-e PGTZ=Europe/Berlin \ -e PGTZ=Europe/Berlin \
--env-file $db_env_file \ --env-file $db_env_file \
--label "io.containers.autoupdate=registry" \ --label "io.containers.autoupdate=registry" \
docker.io/library/postgres:16-alpine docker.io/library/postgres:16-alpine; or return 1
podman-default-create \ podman-default-create \
$container_name \ $container_name \

View file

@ -3,7 +3,7 @@
set -l container_name oxitraffic-corrode-dev set -l container_name oxitraffic-corrode-dev
set -l container_volumes_dir ~/volumes/$container_name set -l container_volumes_dir ~/volumes/$container_name
buildah build -t $container_name:latest ~/code/oxitraffic buildah build -t $container_name:latest ~/code/oxitraffic; or return 1
set -l db_container_name oxitraffic-corrode-dev-db set -l db_container_name oxitraffic-corrode-dev-db
set -l db_env_file $container_volumes_dir/.postgres.env set -l db_env_file $container_volumes_dir/.postgres.env
@ -16,7 +16,7 @@ podman-default-create \
-e PGTZ=Europe/Berlin \ -e PGTZ=Europe/Berlin \
--env-file $db_env_file \ --env-file $db_env_file \
--label "io.containers.autoupdate=registry" \ --label "io.containers.autoupdate=registry" \
docker.io/library/postgres:16-alpine docker.io/library/postgres:16-alpine; or return 1
podman-default-create \ podman-default-create \
$container_name \ $container_name \