mirror of
https://gitea.invidious.io/iv-org/infrastructure.git
synced 2024-08-15 00:53:31 +00:00
Add gitea
This commit is contained in:
parent
7a70d72caa
commit
7465942b94
3 changed files with 29 additions and 0 deletions
18
templates/compose/gitea.yml
Normal file
18
templates/compose/gitea.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
image: docker.io/gitea/gitea:1.16.2
|
||||||
|
environment:
|
||||||
|
- USER_UID=1000
|
||||||
|
- USER_GID=1000
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- gitea:/data
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
ports:
|
||||||
|
- "3200:3000"
|
||||||
|
- "222:22"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
gitea:
|
|
@ -43,6 +43,11 @@ git.invidious.io {
|
||||||
import block-robots
|
import block-robots
|
||||||
redir https://github.com/iv-org/invidious
|
redir https://github.com/iv-org/invidious
|
||||||
}
|
}
|
||||||
|
gitea.invidious.io {
|
||||||
|
import common
|
||||||
|
import block-robots
|
||||||
|
reverse_proxy http://127.0.0.1:3200
|
||||||
|
}
|
||||||
|
|
||||||
invidio.us {
|
invidio.us {
|
||||||
import common
|
import common
|
||||||
|
|
6
tin.yml
6
tin.yml
|
@ -61,6 +61,12 @@
|
||||||
app: invidious.io
|
app: invidious.io
|
||||||
tags: [website, docker]
|
tags: [website, docker]
|
||||||
|
|
||||||
|
- name: Deploy gitea
|
||||||
|
import_tasks: tasks/compose.yml
|
||||||
|
vars:
|
||||||
|
app: gitea
|
||||||
|
tags: [gitea, 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