Compare commits
2 commits
d7e35d2dd1
...
49356a6d5f
Author | SHA1 | Date | |
---|---|---|---|
49356a6d5f | |||
5ff7a09702 |
3 changed files with 0 additions and 80 deletions
|
@ -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
|
|
|
@ -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
|
|
|
@ -118,20 +118,6 @@ http:
|
||||||
to_comprehensive_rust:
|
to_comprehensive_rust:
|
||||||
rule: Host(`comprehensive-rust.mo8it.com`)
|
rule: Host(`comprehensive-rust.mo8it.com`)
|
||||||
service: comprehensive_rust
|
service: comprehensive_rust
|
||||||
to_collective_score:
|
|
||||||
rule: Host(`collective-score.mo8it.com`)
|
|
||||||
service: collective_score
|
|
||||||
to_collective_score_rust:
|
|
||||||
rule: Host(`collective-score-rust.mo8it.com`)
|
|
||||||
service: collective_score_rust
|
|
||||||
{{ $n_ttyds := 28 }}
|
|
||||||
{{ range $index, $num := until $n_ttyds }}
|
|
||||||
to_ttyd{{ $num }}:
|
|
||||||
rule: Host(`ttyd{{ $num }}.mo8it.com`)
|
|
||||||
service: ttyd{{ $num }}
|
|
||||||
tls:
|
|
||||||
certResolver: le
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -214,17 +200,3 @@ http:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
- url: http://comprehensive-rust
|
- url: http://comprehensive-rust
|
||||||
collective_score:
|
|
||||||
loadBalancer:
|
|
||||||
servers:
|
|
||||||
- url: http://collective-score-server
|
|
||||||
collective_score_rust:
|
|
||||||
loadBalancer:
|
|
||||||
servers:
|
|
||||||
- url: http://collective-score-rust-server
|
|
||||||
{{ range $index, $num := until $n_ttyds }}
|
|
||||||
ttyd{{ $num }}:
|
|
||||||
loadBalancer:
|
|
||||||
servers:
|
|
||||||
- url: http://ttyd{{ $num }}:7681
|
|
||||||
{{ end }}
|
|
||||||
|
|
Loading…
Reference in a new issue