28 lines
1.3 KiB
YAML
28 lines
1.3 KiB
YAML
---
|
|
services_deploy_pod:
|
|
wants:
|
|
- "joplin"
|
|
containers:
|
|
joplin:
|
|
image: "docker.io/joplin/server:{{ services_service_deploy_versions.joplin }}"
|
|
podman_run_args:
|
|
- "-v ./.config/service/hosts:/etc/hosts:ro"
|
|
- "-v {{ services_data_directory }}/pod-notes/data/_data:/data:U"
|
|
- "-e APP_BASE_URL=\"https://{{ services[services_service_name].domain }}\""
|
|
- "-e APP_PORT=\"22300\""
|
|
- "-e DB_CLIENT=\"pg\""
|
|
- "-e POSTGRES_PASSWORD=\"{{ services[services_service_name].database.password }}\""
|
|
- "-e POSTGRES_DATABASE=\"{{ services[services_service_name].database.name }}\""
|
|
- "-e POSTGRES_USER=\"{{ services[services_service_name].database.user }}\""
|
|
- "-e POSTGRES_PORT=\"5432\""
|
|
- "-e POSTGRES_HOST=\"pod-database\""
|
|
- "-e MAILER_ENABLED=\"true\""
|
|
- "-e MAILER_HOST=\"{{ services[services_service_name].smtp.host }}\""
|
|
- "-e MAILER_PORT=465"
|
|
- "-e MAILER_SECURITY=\"tls\""
|
|
- "-e MAILER_AUTH_USER=\"{{ services[services_service_name].smtp.user }}\""
|
|
- "-e MAILER_AUTH_PASSWORD=\"{{ services[services_service_name].smtp.password }}\""
|
|
- "-e MAILER_NOREPLY_NAME=\"Joplin\""
|
|
- "-e MAILER_NOREPLY_EMAIL=\"noreply@{{ services[services_service_name].domain }}\""
|
|
- "-e STORAGE_DRIVER=\"Type=Filesystem; Path=/data\""
|