Add comprehensive-rust
This commit is contained in:
parent
d0b7e7e33a
commit
0f204a71e7
2 changed files with 22 additions and 0 deletions
15
containers/comprehensive_rust.fish
Executable file
15
containers/comprehensive_rust.fish
Executable 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
|
|
@ -115,6 +115,9 @@ http:
|
||||||
to_dev_tools:
|
to_dev_tools:
|
||||||
rule: Host(`dev-tools.mo8it.com`)
|
rule: Host(`dev-tools.mo8it.com`)
|
||||||
service: dev_tools
|
service: dev_tools
|
||||||
|
to_comprehensive_rust:
|
||||||
|
rule: Host(`comprehensive-rust.mo8it.com`)
|
||||||
|
service: comprehensive_rust
|
||||||
to_collective_score:
|
to_collective_score:
|
||||||
rule: Host(`collective-score.mo8it.com`)
|
rule: Host(`collective-score.mo8it.com`)
|
||||||
service: collective_score
|
service: collective_score
|
||||||
|
@ -207,6 +210,10 @@ http:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
- url: http://dev-tools
|
- url: http://dev-tools
|
||||||
|
comprehensive_rust:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: http://comprehensive-rust
|
||||||
collective_score:
|
collective_score:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
|
|
Loading…
Reference in a new issue