1
0

Configure gitea mailer

This commit is contained in:
2025-05-03 19:39:02 +03:00
parent 0bdd2c2543
commit 255ac33e04
2 changed files with 123 additions and 114 deletions

View File

@ -4,15 +4,24 @@ services:
image: gitea/gitea:1.23.7
restart: unless-stopped
container_name: gitea_web_app
environment:
- "USER_UID=${USER_UID}"
- "USER_GID=${USER_GID}"
- "GITEA__server__SSH_PORT=2222"
ports:
- "${WEB_SERVER_PORT}:3000"
- "2222:22"
volumes:
- ./data:/data
- ./backups:/backups
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "${WEB_SERVER_PORT}:3000"
- "2222:22"
environment:
- "USER_UID=${USER_UID}"
- "USER_GID=${USER_GID}"
- "GITEA__server__SSH_PORT=2222"
# Mailer
- "GITEA__mailer__ENABLED=true"
- "GITEA__mailer__PROTOCOL=smtp+starttls"
- "GITEA__mailer__SMTP_ADDR={{ postbox_host }}"
- "GITEA__mailer__SMTP_PORT={{ postbox_port }}"
- "GITEA__mailer__USER={{ postbox_user }}"
- "GITEA__mailer__PASSWD={{ postbox_pass }}"
- "GITEA__mailer__FROM=gitea@vakhrushev.me"