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
redir https://invidious.io{uri}
}
#invidious.io {
# import common
# root * /var/www/invidious.io
# file_server
#}
invidious.io {
import common
reverse_proxy http://127.0.0.1:8081
}
git.invidious.io {
import common
redir https://github.com/iv-org/invidious

View file

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