Add collective-score-rust
This commit is contained in:
parent
1e67627241
commit
f3bc722fb2
5 changed files with 42 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
|||
[Container]
|
||||
Image=docker.io/library/postgres:16
|
||||
AutoUpdate=registry
|
||||
Network=collective-score-rust.network
|
||||
Volume=%h/volumes/collective-score-rust/db:/var/lib/postgresql/data:Z
|
||||
|
||||
EnvironmentFile=%h/volumes/collective-score-rust/.postgres.env
|
||||
Environment=TZ=Europe/Berlin
|
||||
Environment=PGTZ=Europe/Berlin
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -0,0 +1,16 @@
|
|||
[Container]
|
||||
Image=localhost/collective-score-rust:latest
|
||||
AutoUpdate=registry
|
||||
Network=traefik.network
|
||||
Network=collective-score-rust.network
|
||||
Volume=%h/volumes/collective-score-rust/config.toml:/volumes/config.toml:Z,ro
|
||||
|
||||
[Unit]
|
||||
Requires=collective-score-rust-db.service
|
||||
After=collective-score-rust-db.service
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
3
containers/collective-score-rust/collective-score-rust.fish
Executable file
3
containers/collective-score-rust/collective-score-rust.fish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
buildah build -t collective-score-rust:latest ~/code/collective-score
|
|
@ -0,0 +1 @@
|
|||
[Network]
|
|
@ -92,6 +92,9 @@ http:
|
|||
to_comprehensive_rust:
|
||||
rule: Host(`comprehensive-rust.mo8it.com`)
|
||||
service: comprehensive_rust
|
||||
to_collective_score_rust:
|
||||
rule: Host(`collective-score-rust.mo8it.com`)
|
||||
service: collective_score_rust
|
||||
|
||||
services:
|
||||
forgejo:
|
||||
|
@ -150,3 +153,7 @@ http:
|
|||
loadBalancer:
|
||||
servers:
|
||||
- url: http://systemd-comprehensive-rust
|
||||
collective_score_rust:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: http://systemd-collective-score-rust
|
||||
|
|
Loading…
Reference in a new issue