Compare commits
3 commits
49356a6d5f
...
32bb219467
Author | SHA1 | Date | |
---|---|---|---|
32bb219467 | |||
258e5c1002 | |||
7a6c812433 |
5 changed files with 15 additions and 17 deletions
11
containers/internet-login.fish
Executable file
11
containers/internet-login.fish
Executable 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
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue