Compare commits

...

2 commits

Author SHA1 Message Date
49356a6d5f Remove course routes 2023-09-21 01:32:59 +02:00
5ff7a09702 Remove collective-score containers 2023-09-21 01:32:51 +02:00
3 changed files with 0 additions and 80 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

View file

@ -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 }}