diff --git a/containers/download/download.container b/containers/download/download.container new file mode 100644 index 0000000..ecb2ad9 --- /dev/null +++ b/containers/download/download.container @@ -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 diff --git a/volumes/traefik/dynamic.yml b/volumes/traefik/dynamic.yml index 4dc3e76..dc10898 100644 --- a/volumes/traefik/dynamic.yml +++ b/volumes/traefik/dynamic.yml @@ -68,6 +68,9 @@ http: to_collective_score_rust: rule: Host(`collective-score-rust.mo8it.com`) service: collective_score_rust + to_download: + rule: Host(`download.mo8it.com`) + service: download services: forgejo: @@ -122,3 +125,7 @@ http: loadBalancer: servers: - url: http://systemd-collective-score-rust + download: + loadBalancer: + servers: + - url: http://systemd-download