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
|
||||
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
|
||||
|
|
8
tin.yml
8
tin.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue