feat: added smtp settings

This commit is contained in:
sujiba 2024-05-24 00:03:39 +02:00
parent 8e6075df01
commit fe35b50124
2 changed files with 13 additions and 2 deletions

View file

@ -1,7 +1,7 @@
--- ---
services: services:
nc_db: nc_db:
image: mariadb:10.5 image: mariadb:10.11
container_name: nc_db container_name: nc_db
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
environment: environment:

View file

@ -1,3 +1,5 @@
# https://github.com/nextcloud/docker#base-version---apache
# Nextcloud database settings # Nextcloud database settings
MYSQL_DATABASE=nextcloud MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud MYSQL_USER=nextcloud
@ -12,3 +14,12 @@ OVERWRITEWEBROOT=/
# PHP settings # PHP settings
PHP_UPLOAD_LIMIT=1G PHP_UPLOAD_LIMIT=1G
# SMTP settings
SMTP_HOST=smtp.example.com
SMTP_PORT=465
SMTP_SECURE=ssl
SMTP_NAME=no-reply@example.com
SMTP_PASSWORD=YOUR_SECURE_PASSWORD
MAIL_FROM_ADDRESS=no-reply
MAIL_DOMAIN=example.com