Enable emails for Joplin

This commit is contained in:
Sam A. 2024-03-02 23:25:45 +01:00
parent ea3637b006
commit 02fd976b22
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 14 additions and 1 deletions

View file

@ -50,7 +50,7 @@ apps_vars:
joplin:
backup: true
sender: false
sender: true
extra_tasks: true
domain: joplin.{{ apps_base_domain }}
port: 22300

View file

@ -16,14 +16,27 @@ services:
POSTGRES_DATABASE: {{ databases.joplin.db }}
POSTGRES_USER: {{ databases.joplin.user }}
POSTGRES_PASSWORD: {{ databases.joplin.password }}
MAILER_ENABLED: 1
MAILER_HOST: postfix
MAILER_PORT: 587
MAILER_SECURITY: 0
MAILER_NOREPLY_NAME: Joplin Server ({{ apps_vars.joplin.domain }})
MAILER_NOREPLY_EMAIL: noreply@{{ apps_vars.joplin.domain }}
STORAGE_DRIVER: Type=Filesystem; Path=/storage
networks:
{{ apps_shared_docker_network }}:
aliases:
- joplin
{% if 'postfix' in apps_include %}
{{ apps_postfix_docker_network }}:
{% endif %}
volumes:
- "./data/storage:/storage:rw"
networks:
{{ apps_shared_docker_network }}:
external: true
{% if 'postfix' in apps_include %}
{{ apps_postfix_docker_network }}:
external: true
{% endif %}