diff --git a/templates/compose/docs.invidious.io.yml b/templates/compose/docs.invidious.io.yml new file mode 100644 index 0000000..5f79298 --- /dev/null +++ b/templates/compose/docs.invidious.io.yml @@ -0,0 +1,7 @@ +--- +services: + docs: + image: quay.io/invidious/docs.invidious.io:latest + restart: unless-stopped + ports: + - "127.0.0.1:8082:80" diff --git a/templates/tin-Caddyfile.j2 b/templates/tin-Caddyfile.j2 index eb984d6..2a86534 100644 --- a/templates/tin-Caddyfile.j2 +++ b/templates/tin-Caddyfile.j2 @@ -85,14 +85,14 @@ uptime.invidious.io { redir https://stats.uptimerobot.com/89VnzSKAn{uri} } -#docs.invidious.io { -# import common -# reverse_proxy http://127.0.0.1:3001 -#} +docs.invidious.io { + import common + reverse_proxy http://127.0.0.1:8082 +} instances.invidious.io { import common - redir https://docs.invidious.io/Invidious-Instances.md + redir https://docs.invidious.io/instances/ } todo.invidious.io { diff --git a/tin.yml b/tin.yml index f18768f..a3b5599 100644 --- a/tin.yml +++ b/tin.yml @@ -67,6 +67,12 @@ app: gitea tags: [gitea, docker] + - name: Deploy docs + import_tasks: tasks/compose.yml + vars: + app: "docs.invidious.io" + tags: [docs, docker] + - name: caddy import_role: name: caddy_ansible.caddy_ansible