Configure gitea mailer
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user