mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-01-22 07:03:21 +01:00
solved mail bugs
This commit is contained in:
parent
b0d5396ea8
commit
fac9a62fda
@ -50,7 +50,7 @@ If nextcloud stays in the maintenance mode after the update try the following:
|
|||||||
If the update process fails execute
|
If the update process fails execute
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker-compose exec -it -u www-data application /var/www/html/occ maintenance:repair
|
docker-compose exec -it -u www-data application /var/www/html/occ maintenance:repair --include-expensive
|
||||||
```
|
```
|
||||||
|
|
||||||
and disable the not functioning apps.
|
and disable the not functioning apps.
|
||||||
|
@ -13,6 +13,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- data:/var/www/html
|
- data:/var/www/html
|
||||||
environment:
|
environment:
|
||||||
|
# See https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html
|
||||||
|
|
||||||
# Database Configuration
|
# Database Configuration
|
||||||
MYSQL_DATABASE: "{{database_name}}"
|
MYSQL_DATABASE: "{{database_name}}"
|
||||||
MYSQL_USER: "{{database_username}}"
|
MYSQL_USER: "{{database_username}}"
|
||||||
@ -24,16 +26,15 @@ services:
|
|||||||
|
|
||||||
# Email Configuration
|
# Email Configuration
|
||||||
SMTP_HOST: {{system_email_host}}
|
SMTP_HOST: {{system_email_host}}
|
||||||
SMTP_SECURE: {{ 'ssl' if system_email_start_tls else 'tls' }}
|
SMTP_SECURE: {{ 'ssl' if system_email_tls else '' }}
|
||||||
SMTP_PORT: {{system_email_smtp_port}}
|
SMTP_PORT: {{system_email_smtp_port}}
|
||||||
SMTP_NAME: {{system_email_username}}
|
SMTP_NAME: {{system_email_username}}
|
||||||
SMTP_PASSWORD: {{system_email_password}}
|
SMTP_PASSWORD: {{system_email_password}}
|
||||||
|
|
||||||
# Email from configuration
|
# Email from configuration
|
||||||
# MAIL_FROM_ADDRESS: no-reply
|
MAIL_FROM_ADDRESS: no-reply
|
||||||
# MAIL_DOMAIN: {{domain}}
|
MAIL_DOMAIN: {{system_email_host}}
|
||||||
|
|
||||||
At least SMTP_HOST, MAIL_FROM_ADDRESS and MAIL_DOMAIN must be set for the configurations to be applied.
|
|
||||||
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
|
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
|
||||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user