moving closer to podman systemd services for everything

This commit is contained in:
2025-04-19 12:52:56 -04:00
parent 9acff25d43
commit 6e393d90ee
47 changed files with 1455 additions and 433 deletions

View File

@@ -19,7 +19,7 @@ services:
networks:
- gitea
volumes:
- /home/gitea/gitea:/data
- /home/gitea/gitea_data:/data
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
@@ -40,6 +40,6 @@ services:
networks:
- gitea
volumes:
- /home/gitea/postgres:/var/lib/postgresql/data
- /home/gitea/gitea_postgres:/var/lib/postgresql/data
security_opt:
- label=disable

View File

@@ -1,5 +1,16 @@
# Gitea
- [Gitea](#gitea)
- [Gitea on Rootless Podman](#gitea-on-rootless-podman)
- [Create the gitea user](#create-the-gitea-user)
- [Convert Compose to Quadlet](#convert-compose-to-quadlet)
- [Install Quadlets](#install-quadlets)
- [Gitea Runners](#gitea-runners)
- [Firewall Rules](#firewall-rules)
- [Install](#install)
- [Cache Cleanup](#cache-cleanup)
- [Email Notifications](#email-notifications)
## Gitea on Rootless Podman
### Create the gitea user
@@ -108,3 +119,18 @@ To run it every day at midnight: `crontab -e`
```bash
0 0 * * * yes | docker builder prune -a
```
## Email Notifications
In `/data/gitea/conf/app.ini` add (yes, the `` around the password matters):
```conf
[mailer]
ENABLED = true
FROM = gitea@reeseapps.com
PROTOCOL = smtps
SMTP_ADDR = email-smtp.us-east-1.amazonaws.com
SMTP_PORT = 465
USER = ABC123
PASSWD = `ABC123...`
```