Add gitea

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-10-09 01:33:23 +02:00
parent 320c7cdd7a
commit 582aa5e235
5 changed files with 48 additions and 8 deletions

View File

@@ -412,8 +412,6 @@ services:
- broker
networks:
- net
ports:
- "{{ paperless.port }}:{{ paperless.port }}"
healthcheck:
test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:{{ paperless.port }}"]
interval: 30s
@@ -447,6 +445,24 @@ services:
- {{ homarr.volumes.configs }}:/app/data/configs
- {{ homarr.volumes.icons }}:/app/public/icons
{{ gitea.host }}:
container_name: {{ gitea.host }}
image: gitea/gitea:1.20.5-rootless
restart: unless-stopped
depends_on:
- pihole
networks:
- net
volumes:
- {{ gitea.volumes.data }}:/var/lib/gitea
- {{ gitea.volumes.config }}:/etc/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "{{ gitea.ports.http }}:3000"
- "{{ gitea.ports.ssh }}:2222"
networks:
zoneminder:
driver: bridge