mirror of
https://gitea.invidious.io/iv-org/infrastructure.git
synced 2024-08-15 00:53:31 +00:00
Add invidious.io deployment
This commit is contained in:
parent
d906f988aa
commit
bf9bda494e
3 changed files with 19 additions and 6 deletions
7
templates/compose/invidious.io.yml
Normal file
7
templates/compose/invidious.io.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
services:
|
||||||
|
api:
|
||||||
|
image: quay.io/invidious/invidious.io:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:8081:80"
|
|
@ -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
|
||||||
|
|
8
tin.yml
8
tin.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue