Add invidious.io deployment

This commit is contained in:
Perflyst 2021-12-09 19:11:50 +01:00
parent d906f988aa
commit bf9bda494e
3 changed files with 19 additions and 6 deletions

View file

@ -0,0 +1,7 @@
---
services:
api:
image: quay.io/invidious/invidious.io:latest
restart: unless-stopped
ports:
- "127.0.0.1:8081:80"

View file

@ -29,11 +29,11 @@ www.invidio.us {
import common import common
redir https://invidious.io{uri} redir https://invidious.io{uri}
} }
#invidious.io { invidious.io {
# import common import common
# root * /var/www/invidious.io reverse_proxy http://127.0.0.1:8081
# file_server }
#}
git.invidious.io { git.invidious.io {
import common import common
redir https://github.com/iv-org/invidious redir https://github.com/iv-org/invidious

View file

@ -49,12 +49,18 @@
app: instances-api app: instances-api
tags: [instances-api, api, docker] tags: [instances-api, api, docker]
- name: Deploy invidious api - name: Deploy invidious redirect
import_tasks: tasks/compose.yml import_tasks: tasks/compose.yml
vars: vars:
app: redirect app: redirect
tags: [redirect, docker] tags: [redirect, docker]
- name: Deploy invidious website
import_tasks: tasks/compose.yml
vars:
app: invidious.io
tags: [website, docker]
- name: caddy - name: caddy
import_role: import_role:
name: caddy_ansible.caddy_ansible name: caddy_ansible.caddy_ansible