Compare commits

...

3 commits

Author SHA1 Message Date
32bb219467 Add or return 1 2023-10-08 05:00:03 +02:00
258e5c1002 Remove Veloren 2023-10-08 04:59:51 +02:00
7a6c812433 Add internet-login 2023-10-08 04:59:41 +02:00
5 changed files with 15 additions and 17 deletions

11
containers/internet-login.fish Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env fish
set -l container_name internet-login
set -l container_volumes_dir ~/volumes/$container_name
buildah build -t $container_name:latest ~/code/internet-login; or return 1
podman-default-create \
$container_name \
-v $container_volumes_dir/config.toml:/volumes/config.toml:Z,ro \
localhost/$container_name:latest

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 \

View file

@ -1,11 +0,0 @@
#!/usr/bin/env fish
set -l container_name veloren
set -l container_volumes_dir ~/volumes/$container_name
podman-default-create \
$container_name \
-p 14004:14004 \
-v $container_volumes_dir/userdata:/opt/userdata:Z \
--label "io.containers.autoupdate=registry" \
registry.gitlab.com/veloren/veloren/server-cli:weekly

View file

@ -25,8 +25,6 @@ for port in \
4430 \ 4430 \
# Git SSH # Git SSH
2222 \ 2222 \
# Veloren
14004 \
# Rustdesk # Rustdesk
21115-21119 21115-21119
firewall-cmd --add-port $port/tcp firewall-cmd --add-port $port/tcp