Add download container

This commit is contained in:
Mo 2024-10-21 13:54:32 +02:00
parent b97c746fd2
commit cf5f8d8c90
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[Container]
Image=docker.io/library/nginx:1
AutoUpdate=registry
Network=traefik.network
Volume=%h/sync/volumes/nginx.conf:/etc/nginx/nginx.conf:z,ro
Volume=%h/volumes/download:/usr/share/nginx/html:Z,ro
[Service]
Restart=always
[Install]
WantedBy=default.target

View file

@ -68,6 +68,9 @@ http:
to_collective_score_rust: to_collective_score_rust:
rule: Host(`collective-score-rust.mo8it.com`) rule: Host(`collective-score-rust.mo8it.com`)
service: collective_score_rust service: collective_score_rust
to_download:
rule: Host(`download.mo8it.com`)
service: download
services: services:
forgejo: forgejo:
@ -122,3 +125,7 @@ http:
loadBalancer: loadBalancer:
servers: servers:
- url: http://systemd-collective-score-rust - url: http://systemd-collective-score-rust
download:
loadBalancer:
servers:
- url: http://systemd-download