Compare commits

...

3 commits

Author SHA1 Message Date
53a8dd145f Install mdbook and mdbook-scgbob 2023-08-28 21:08:40 +02:00
fe6921d1cb Change the username 2023-08-28 21:08:19 +02:00
0f204a71e7 Add comprehensive-rust 2023-08-28 21:08:07 +02:00
3 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,15 @@
#!/usr/bin/env fish
set -l container_name comprehensive-rust
mkdir -p ~/volumes/$container_name
mdbook build -d ~/volumes/$container_name ~/code/comprehensive-rust; or return 1
podman-default-create \
$container_name \
--network traefik \
-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

View file

@ -1,6 +1,6 @@
#!/usr/bin/env fish
set -l user mo
set -l user mo8it
set -l user_home /home/$user
dnf install -y \
@ -9,6 +9,10 @@ dnf install -y \
# For helix grammer compliation
clang
runuser -u $user -- cargo install \
mdbook \
mdbook-svgbob
loginctl enable-linger $user
runuser -u $user -- mkdir -p $user_home/.config/systemd/user

View file

@ -115,6 +115,9 @@ http:
to_dev_tools:
rule: Host(`dev-tools.mo8it.com`)
service: dev_tools
to_comprehensive_rust:
rule: Host(`comprehensive-rust.mo8it.com`)
service: comprehensive_rust
to_collective_score:
rule: Host(`collective-score.mo8it.com`)
service: collective_score
@ -207,6 +210,10 @@ http:
loadBalancer:
servers:
- url: http://dev-tools
comprehensive_rust:
loadBalancer:
servers:
- url: http://comprehensive-rust
collective_score:
loadBalancer:
servers: