Compare commits

...

2 commits

Author SHA1 Message Date
0dea4af039 Remove Alpine because of performance concerns 2023-10-20 04:49:48 +02:00
cd9e684553 Remove advlabdb 2023-10-20 04:41:35 +02:00
13 changed files with 13 additions and 28 deletions

View file

@ -1,15 +0,0 @@
#!/usr/bin/env fish
set -l container_name advlabdb
set -l container_volumes_dir ~/volumes/$container_name
set -l repo_dir ~/code/advlabdb
cd $repo_dir
buildah build --layers -t $container_name:latest
podman-default-create \
$container_name \
--network traefik \
-v $container_volumes_dir/data:/volumes/data:Z \
-v $container_volumes_dir/logs:/volumes/logs:Z \
localhost/$container_name:latest

View file

@ -12,4 +12,4 @@ podman-default-create \
-v ~/sync/volumes/nginx.conf:/etc/nginx/nginx.conf:z,ro \
-v ~/volumes/$container_name:/usr/share/nginx/html:Z,ro \
--label "io.containers.autoupdate=registry" \
docker.io/library/nginx:alpine
docker.io/library/nginx:latest

View file

@ -12,4 +12,4 @@ podman-default-create \
-v ~/sync/volumes/nginx.conf:/etc/nginx/nginx.conf:z,ro \
-v ~/volumes/$container_name:/usr/share/nginx/html:Z,ro \
--label "io.containers.autoupdate=registry" \
docker.io/library/nginx:alpine
docker.io/library/nginx:latest

View file

@ -18,7 +18,7 @@ podman-default-create \
-e POSTGRES_USER=hedgedoc \
--env-file $container_volumes_dir/postgres.env \
--label "io.containers.autoupdate=registry" \
docker.io/library/postgres:14-alpine
docker.io/library/postgres:14
podman-default-create \
$container_name \
@ -41,6 +41,6 @@ podman-default-create \
-e CMD_DOMAIN=pads.mo8it.com \
--env-file $container_volumes_dir/hedgedoc.env \
--label "io.containers.autoupdate=registry" \
quay.io/hedgedoc/hedgedoc:alpine
quay.io/hedgedoc/hedgedoc:latest
podman exec -it $container_name chown -R hedgedoc /hedgedoc/public/uploads

View file

@ -8,4 +8,4 @@ podman-default-create \
-v ~/sync/volumes/nginx.conf:/etc/nginx/nginx.conf:z,ro \
-v ~/code/how_2_julia:/usr/share/nginx/html:Z,ro \
--label "io.containers.autoupdate=registry" \
docker.io/library/nginx:alpine
docker.io/library/nginx:latest

View file

@ -17,4 +17,4 @@ podman-default-create \
-v ~/sync/volumes/nginx.conf:/etc/nginx/nginx.conf:z,ro \
-v ~/volumes/$container_name/public:/usr/share/nginx/html:Z,ro \
--label "io.containers.autoupdate=registry" \
docker.io/library/nginx:alpine
docker.io/library/nginx:latest

View file

@ -19,7 +19,7 @@ podman-default-create \
-e POSTGRES_USER=limesurvey \
--env-file $container_volumes_dir/secrets.env \
--label "io.containers.autoupdate=registry" \
docker.io/library/postgres:15-alpine
docker.io/library/postgres:15
podman-default-create \
$container_name \

View file

@ -17,4 +17,4 @@ podman-default-create \
-v ~/sync/volumes/nginx.conf:/etc/nginx/nginx.conf:z,ro \
-v ~/volumes/$container_name/public:/usr/share/nginx/html:Z,ro \
--label "io.containers.autoupdate=registry" \
docker.io/library/nginx:alpine
docker.io/library/nginx:latest

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:15-alpine; or return 1
docker.io/library/postgres:15; or return 1
podman-default-create \
$container_name \

View file

@ -8,4 +8,4 @@ podman-default-create \
--network traefik \
-v $container_volume:/usr/share/nginx/html:Z,ro \
--label "io.containers.autoupdate=registry" \
docker.io/library/nginx:alpine
docker.io/library/nginx:latest

View file

@ -16,7 +16,7 @@ podman-default-create \
-e PGTZ=Europe/Berlin \
--env-file $db_env_file \
--label "io.containers.autoupdate=registry" \
docker.io/library/postgres:16-alpine; or return 1
docker.io/library/postgres:16; or return 1
podman-default-create \
$container_name \

View file

@ -16,7 +16,7 @@ podman-default-create \
-e PGTZ=Europe/Berlin \
--env-file $db_env_file \
--label "io.containers.autoupdate=registry" \
docker.io/library/postgres:16-alpine; or return 1
docker.io/library/postgres:16; or return 1
podman-default-create \
$container_name \

View file

@ -17,4 +17,4 @@ podman-default-create \
-v ~/sync/volumes/nginx.conf:/etc/nginx/nginx.conf:z,ro \
-v ~/volumes/$container_name/public:/usr/share/nginx/html:Z,ro \
--label "io.containers.autoupdate=registry" \
docker.io/library/nginx:alpine
docker.io/library/nginx:latest