Add gitea

This commit is contained in:
Perflyst 2022-02-26 10:23:00 +01:00
parent 7a70d72caa
commit 7465942b94
3 changed files with 29 additions and 0 deletions

View 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:

View file

@ -43,6 +43,11 @@ git.invidious.io {
import block-robots
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 {
import common

View file

@ -61,6 +61,12 @@
app: invidious.io
tags: [website, docker]
- name: Deploy gitea
import_tasks: tasks/compose.yml
vars:
app: gitea
tags: [gitea, docker]
- name: caddy
import_role:
name: caddy_ansible.caddy_ansible