Update listmonk.yml (#776)

* Update listmonk.yml

Added flags as variable. Also, default version is the most recent.

* Clarification

* Removed validRegex and defalutValue

* Fix failed check

Co-authored-by: andreasnymark <andreas@nymark.me>
This commit is contained in:
Andreas Nymark 2022-10-23 21:57:49 +02:00 committed by GitHub
parent f30f938559
commit a39d59300e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -27,7 +27,7 @@ services:
containerHttpPort: 9000
dockerfileLines:
- FROM listmonk/listmonk:$$cap_listmonk_version
- CMD yes | ./listmonk --install --idempotent && ./listmonk
- CMD yes | ./listmonk --install --idempotent && ./listmonk $$cap_listmonk_flags
volumes:
- $$cap_appname-data:/listmonk
depends_on:
@ -42,7 +42,7 @@ caproverOneClickApp:
validRegex: /^([^\s^\/])+$/
- id: $$cap_listmonk_version
label: Listmonk Version
defaultValue: 'v2.0.0'
defaultValue: 'v2.2.0'
description: Check out their Docker page for the valid tags https://hub.docker.com/r/listmonk/listmonk/tags
validRegex: /^([^\s^\/])+$/
- id: $$cap_postgres_db_name
@ -69,6 +69,10 @@ caproverOneClickApp:
label: Listmonk Admin Password
defaultValue: $$cap_gen_random_hex(32)
validRegex: /.{1,}/
- id: $$cap_listmonk_flags
label: Optional Listmonk flags
description: |-
If you use `--static-dir=your/folder`, remember to add a persistent directory.
instructions:
start: |-
High performance, self-hosted newsletter and mailing list manager with a modern dashboard