Enable emails for Joplin
This commit is contained in:
parent
ea3637b006
commit
02fd976b22
|
@ -50,7 +50,7 @@ apps_vars:
|
||||||
|
|
||||||
joplin:
|
joplin:
|
||||||
backup: true
|
backup: true
|
||||||
sender: false
|
sender: true
|
||||||
extra_tasks: true
|
extra_tasks: true
|
||||||
domain: joplin.{{ apps_base_domain }}
|
domain: joplin.{{ apps_base_domain }}
|
||||||
port: 22300
|
port: 22300
|
||||||
|
|
|
@ -16,14 +16,27 @@ services:
|
||||||
POSTGRES_DATABASE: {{ databases.joplin.db }}
|
POSTGRES_DATABASE: {{ databases.joplin.db }}
|
||||||
POSTGRES_USER: {{ databases.joplin.user }}
|
POSTGRES_USER: {{ databases.joplin.user }}
|
||||||
POSTGRES_PASSWORD: {{ databases.joplin.password }}
|
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
|
STORAGE_DRIVER: Type=Filesystem; Path=/storage
|
||||||
networks:
|
networks:
|
||||||
{{ apps_shared_docker_network }}:
|
{{ apps_shared_docker_network }}:
|
||||||
aliases:
|
aliases:
|
||||||
- joplin
|
- joplin
|
||||||
|
{% if 'postfix' in apps_include %}
|
||||||
|
{{ apps_postfix_docker_network }}:
|
||||||
|
{% endif %}
|
||||||
volumes:
|
volumes:
|
||||||
- "./data/storage:/storage:rw"
|
- "./data/storage:/storage:rw"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
{{ apps_shared_docker_network }}:
|
{{ apps_shared_docker_network }}:
|
||||||
external: true
|
external: true
|
||||||
|
{% if 'postfix' in apps_include %}
|
||||||
|
{{ apps_postfix_docker_network }}:
|
||||||
|
external: true
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue