nextcloud mail
This commit is contained in:
@@ -57,6 +57,14 @@ services:
|
|||||||
|
|
||||||
PHP_MEMORY_LIMIT: 2048M
|
PHP_MEMORY_LIMIT: 2048M
|
||||||
PHP_UPLOAD_LIMIT: 16G
|
PHP_UPLOAD_LIMIT: 16G
|
||||||
|
SMTP_HOST: ${SMTP_HOST}
|
||||||
|
SMTP_PORT: ${SMTP_PORT}
|
||||||
|
SMTP_SECURE: ${SMTP_SECURE}
|
||||||
|
SMTP_AUTHTYPE: ${SMTP_AUTHTYPE}
|
||||||
|
SMTP_NAME: ${SMTP_NAME}
|
||||||
|
SMTP_PASSWORD: ${SMTP_PASSWORD}
|
||||||
|
MAIL_FROM_ADDRESS: ${MAIL_FROM_ADDRESS}
|
||||||
|
MAIL_DOMAIN: ${MAIL_DOMAIN}
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/nextcloud/html:/var/www/html:Z
|
- /opt/nextcloud/html:/var/www/html:Z
|
||||||
- /opt/nextcloud/config:/var/www/html/config:Z
|
- /opt/nextcloud/config:/var/www/html/config:Z
|
||||||
@@ -69,6 +77,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- nextcloud_internal
|
- nextcloud_internal
|
||||||
- proxy
|
- proxy
|
||||||
|
- mail_internal
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.docker.network=proxy
|
- traefik.docker.network=proxy
|
||||||
@@ -105,6 +114,14 @@ services:
|
|||||||
MYSQL_USER: ${MYSQL_USER}
|
MYSQL_USER: ${MYSQL_USER}
|
||||||
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
|
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
|
||||||
REDIS_HOST: nextcloud-redis
|
REDIS_HOST: nextcloud-redis
|
||||||
|
SMTP_HOST: ${SMTP_HOST}
|
||||||
|
SMTP_PORT: ${SMTP_PORT}
|
||||||
|
SMTP_SECURE: ${SMTP_SECURE}
|
||||||
|
SMTP_AUTHTYPE: ${SMTP_AUTHTYPE}
|
||||||
|
SMTP_NAME: ${SMTP_NAME}
|
||||||
|
SMTP_PASSWORD: ${SMTP_PASSWORD}
|
||||||
|
MAIL_FROM_ADDRESS: ${MAIL_FROM_ADDRESS}
|
||||||
|
MAIL_DOMAIN: ${MAIL_DOMAIN}
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/nextcloud/html:/var/www/html:Z
|
- /opt/nextcloud/html:/var/www/html:Z
|
||||||
- /opt/nextcloud/config:/var/www/html/config:Z
|
- /opt/nextcloud/config:/var/www/html/config:Z
|
||||||
@@ -116,6 +133,7 @@ services:
|
|||||||
- /opt/paperless/media:/mnt/paperless-media:ro,Z
|
- /opt/paperless/media:/mnt/paperless-media:ro,Z
|
||||||
networks:
|
networks:
|
||||||
- nextcloud_internal
|
- nextcloud_internal
|
||||||
|
- mail_internal
|
||||||
|
|
||||||
onlyoffice-documentserver:
|
onlyoffice-documentserver:
|
||||||
image: onlyoffice/documentserver:9.3.1
|
image: onlyoffice/documentserver:9.3.1
|
||||||
@@ -165,3 +183,6 @@ networks:
|
|||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
mail_internal:
|
||||||
|
external: true
|
||||||
|
|||||||
@@ -11,3 +11,11 @@ NEXTCLOUD_ADMIN_USER=admin
|
|||||||
NEXTCLOUD_ADMIN_PASSWORD=change_me_nextcloud_admin_password_long_and_secure
|
NEXTCLOUD_ADMIN_PASSWORD=change_me_nextcloud_admin_password_long_and_secure
|
||||||
OO_JWT_SECRET=change_me_onlyoffice_jwt_secret_long_and_random
|
OO_JWT_SECRET=change_me_onlyoffice_jwt_secret_long_and_random
|
||||||
OO_SECURE_LINK_SECRET=change_me_onlyoffice_secure_link_secret_long_and_random
|
OO_SECURE_LINK_SECRET=change_me_onlyoffice_secure_link_secret_long_and_random
|
||||||
|
SMTP_HOST=mail-relay
|
||||||
|
SMTP_PORT=587
|
||||||
|
SMTP_SECURE=tls
|
||||||
|
SMTP_AUTHTYPE=
|
||||||
|
SMTP_NAME=
|
||||||
|
SMTP_PASSWORD=
|
||||||
|
MAIL_FROM_ADDRESS=nextcloud
|
||||||
|
MAIL_DOMAIN=example.com
|
||||||
|
|||||||
Reference in New Issue
Block a user