version: "3" services: forgejo: image: codeberg.org/forgejo/forgejo:1.21.3-0 ports: - 3001:3001 environment: FORGEJO__security__INSTALL_LOCK: true FORGEJO__federation__ENABLED: true FORGEJO__server__ROOT_URL: http://localhost:3001 FORGEJO__server__HTTP_PORT: 3001 FORGEJO__service__ENABLE_NOTIFY_MAIL: true FORGEJO__service__REGISTER_EMAIL_CONFIRM: true FORGEJO__admin__DEFAULT_EMAIL_NOTIFICATIONS: enabled FORGEJO__admin__SEND_NOTIFICATION_EMAIL_ON_NEW_USER: true FORGEJO__mailer__ENABLED: true FORGEJO__mailer__PROTOCOL: "smtp" FORGEJO__mailer__SMTP_ADDR: "maildev" FORGEJO__mailer__SMTP_PORT: 10025 FORGEJO__mailer__FROM: "TEST " FORGEJO__mailer__USER: admin FORGEJO__mailer__PASSWD: password maildev: image: maildev/maildev:latest ports: - 1080:1080 environment: MAILDEV_SMTP_PORT: 10025 MAILDEV_WEB_PORT: 1080 MAILDEV_INCOMING_USER: admin MAILDEV_INCOMING_PASS: password