From ae13fd220d0449fcd9e09d6d0e2beb7be79c7b5a Mon Sep 17 00:00:00 2001 From: TheFrenchGhosty Date: Fri, 29 Apr 2022 17:27:38 +0200 Subject: [PATCH 1/3] Update the Caddyfile with the changes I made by hand --- templates/tin-Caddyfile.j2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 { From 59432abe2f6795d74fb3723d1d518e325c50d72b Mon Sep 17 00:00:00 2001 From: TheFrenchGhosty Date: Fri, 29 Apr 2022 17:28:31 +0200 Subject: [PATCH 2/3] Add the docs.invidious.io compose file --- templates/compose/docs.invidious.io.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 templates/compose/docs.invidious.io.yml 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" From 6eda0eddc6b29a0c0d26e2071a0e42366442adc2 Mon Sep 17 00:00:00 2001 From: TheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com> Date: Sat, 30 Apr 2022 17:08:09 +0000 Subject: [PATCH 3/3] Add docs.invidious.io --- tin.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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