diff --git a/caddy/Caddyfile b/caddy/Caddyfile index d0ff9c3..24803aa 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -30,6 +30,7 @@ import unprotected pgadmin host:5050 import unprotected homarr host:17575 import unprotected jellyseerr host:15055 import unprotected minio host:9000 +import unprotected gitea host:3003 import protected sonarr host:18989 import protected radarr host:17878 diff --git a/compose.gitea.yaml b/compose.gitea.yaml new file mode 100644 index 0000000..f22cd0a --- /dev/null +++ b/compose.gitea.yaml @@ -0,0 +1,29 @@ +services: + gitea: + image: docker.gitea.com/gitea:1.24.3 + container_name: gitea + environment: + - USER_UID=1000 + - USER_GID=1000 + - GITEA__database__DB_TYPE=postgres + - GITEA__database__HOST=host:11111 + - GITEA__database__NAME=gitea + - GITEA__database__USER=gitea + - GITEA__database__PASSWD=gitea + - GITEA__mailer__ENABLED=true + - GITEA__mailer__HOST=email-smtp.eu-west-1.amazonaws.com:587 + - GITEA__mailer__FROM=gitea@veenboer.xyz + - GITEA__mailer__USER=${SMTP_USER:?} + - GITEA__mailer__PASSWD=${SMTP_PASSWORD:?} + - GITEA__mailer__IS_TLS_ENABLED=true + - GITEA__mailer__SKIP_VERIFY=false + restart: always + extra_hosts: + - host:192.168.2.200 + volumes: + - /opt/gitea:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: + - "3003:3000" + - "222:22" diff --git a/compose.yaml b/compose.yaml index 3a6f61d..daa807d 100644 --- a/compose.yaml +++ b/compose.yaml @@ -12,6 +12,7 @@ include: - compose.homeassistant.yaml - compose.grafana.yaml - compose.photoprism.yaml +- compose.gitea.yaml # Download - compose.jackett.yaml