Remove collective-score containers

This commit is contained in:
Mo 2023-09-21 01:32:51 +02:00
parent d7e35d2dd1
commit 5ff7a09702
2 changed files with 0 additions and 52 deletions

View file

@ -1,26 +0,0 @@
#!/usr/bin/env fish
set -l container_name collective-score-rust-server
set -l container_volumes_dir ~/volumes/$container_name
buildah build -t $container_name:latest ~/code/collective-score
set -l db_container_name collective-score-rust-server-db
set -l db_container_volumes_dir $container_volumes_dir/db
set -l db_env_file $container_volumes_dir/.postgres.env
podman-default-create \
$db_container_name \
--network traefik \
-v $db_container_volumes_dir:/var/lib/postgresql/data:Z \
-e TZ=Europe/Berlin \
-e PGTZ=Europe/Berlin \
--env-file $db_env_file \
--label "io.containers.autoupdate=registry" \
docker.io/library/postgres:15-alpine
podman-default-create \
$container_name \
--network traefik \
-v $container_volumes_dir/data:/volumes/data:Z \
localhost/$container_name:latest

View file

@ -1,26 +0,0 @@
#!/usr/bin/env fish
set -l container_name collective-score-server
set -l container_volumes_dir ~/volumes/$container_name
buildah build -t $container_name:latest ~/code/collective-score
set -l db_container_name collective-score-server-db
set -l db_container_volumes_dir $container_volumes_dir/db
set -l db_env_file $container_volumes_dir/.postgres.env
podman-default-create \
$db_container_name \
--network traefik \
-v $db_container_volumes_dir:/var/lib/postgresql/data:Z \
-e TZ=Europe/Berlin \
-e PGTZ=Europe/Berlin \
--env-file $db_env_file \
--label "io.containers.autoupdate=registry" \
docker.io/library/postgres:15-alpine
podman-default-create \
$container_name \
--network traefik \
-v $container_volumes_dir/data:/volumes/data:Z \
localhost/$container_name:latest