gitea: enable smtp

single-dockerfile
Ubuntu 2 years ago
parent bd800d16b2
commit 4e117f98b5
  1. 7
      gitea.yaml

@ -31,6 +31,13 @@ services:
- GITEA__server__SSH_DOMAIN=${GITEA_HOSTNAME}.${DOMAIN_NAME} - GITEA__server__SSH_DOMAIN=${GITEA_HOSTNAME}.${DOMAIN_NAME}
- GITEA__security__SECRET_KEY=${GITEA_SESSION_SECRET} - GITEA__security__SECRET_KEY=${GITEA_SESSION_SECRET}
- GITEA__security__INSTALL_LOCK=true - GITEA__security__INSTALL_LOCK=true
- GITEA__mailer__ENABLED=true
- GITEA__mailer__FROM=git@${DOMAIN_NAME}
- GITEA__mailer__MAILER_TYPE=smtp
- GITEA__mailer__HOST=${SMTP_SERVER}:${SMTP_PORT}
- GITEA__mailer__IS_TLS_ENABLED=false
- GITEA__mailer__USER=${SMTP_USER}
- GITEA__mailer__PASSWD=${SMTP_PASSWORD}
entrypoint: ["/setup.sh"] entrypoint: ["/setup.sh"]
volumes: volumes:
- ./gitea/setup.sh:/setup.sh:ro - ./gitea/setup.sh:/setup.sh:ro

Loading…
Cancel
Save