Enable emails for Joplin
This commit is contained in:
parent
ea3637b006
commit
02fd976b22
|
@ -50,7 +50,7 @@ apps_vars:
|
|||
|
||||
joplin:
|
||||
backup: true
|
||||
sender: false
|
||||
sender: true
|
||||
extra_tasks: true
|
||||
domain: joplin.{{ apps_base_domain }}
|
||||
port: 22300
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue