summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAk4zh <[email protected]>2022-01-21 04:50:05 +0530
committerGitHub <[email protected]>2022-01-20 15:20:05 -0800
commite68cff4ba7abc29ebaabbfa126ed9ce8307e1eab (patch)
tree36afde9678835def29e0b46229615094977e1102
parent8b19024e01a8d8ee3ac6cc15da92fa222bc0dc10 (diff)
downloadcaprover-one-click-apps-e68cff4ba7abc29ebaabbfa126ed9ce8307e1eab.tar.gz
caprover-one-click-apps-e68cff4ba7abc29ebaabbfa126ed9ce8307e1eab.zip
added listmonk (#608)
Co-authored-by: ak4zh <[email protected]>
-rw-r--r--public/v4/apps/listmonk.yml80
-rw-r--r--public/v4/logos/listmonk.pngbin0 -> 1942 bytes
2 files changed, 80 insertions, 0 deletions
diff --git a/public/v4/apps/listmonk.yml b/public/v4/apps/listmonk.yml
new file mode 100644
index 0000000..f02651a
--- /dev/null
+++ b/public/v4/apps/listmonk.yml
@@ -0,0 +1,80 @@
+captainVersion: 4
+
+services:
+ $$cap_appname-db:
+ image: postgres:$$cap_postgres_version
+ volumes:
+ - $$cap_appname-db-data:/var/lib/postgresql/data
+ restart: always
+ environment:
+ POSTGRES_USER: $$cap_postgres_username
+ POSTGRES_PASSWORD: $$cap_postgres_password
+ POSTGRES_DB: $$cap_postgres_db_name
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+ $$cap_appname:
+ environment:
+ TZ: Etc/UTC
+ LISTMONK_db__host: srv-captain--$$cap_appname-db
+ LISTMONK_db__database: $$cap_postgres_db_name
+ LISTMONK_db__user: $$cap_postgres_username
+ LISTMONK_db__password: $$cap_postgres_password
+ LISTMONK_db__ssl_mode: $$cap_postgres_ssl_mode
+ LISTMONK_app__admin_username: $$cap_listmonk_admin_username
+ LISTMONK_app__admin_password: $$cap_listmonk_admin_password
+ LISTMONK_app__address: 0.0.0.0:9000
+ caproverExtra:
+ containerHttpPort: 9000
+ dockerfileLines:
+ - FROM listmonk/listmonk:$$cap_listmonk_version
+ - CMD yes | ./listmonk --install && ./listmonk
+ volumes:
+ - $$cap_appname-data:/listmonk
+ depends_on:
+ - $$cap_appname-db
+
+caproverOneClickApp:
+ variables:
+ - id: $$cap_postgres_version
+ label: Postgresql Version
+ defaultValue: '14.1'
+ description: Check out their Docker page for the valid tags https://hub.docker.com/_/postgres?tab=tags
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_listmonk_version
+ label: Listmonk Version
+ defaultValue: 'v2.0.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
+ label: PostgreSQL Database name
+ defaultValue: 'listmonk'
+ validRegex: /.{1,}/
+ - id: $$cap_postgres_username
+ label: PostgreSQL username
+ defaultValue: 'listmonk'
+ validRegex: /.{1,}/
+ - id: $$cap_postgres_password
+ label: PostgreSQL Password
+ defaultValue: $$cap_gen_random_hex(32)
+ validRegex: /.{1,}/
+ - id: $$cap_postgres_ssl_mode
+ label: PostgreSQL SSL Mode
+ defaultValue: 'disable'
+ validRegex: /.{1,}/
+ - id: $$cap_listmonk_admin_username
+ label: Listmonk Admin Username
+ defaultValue: 'listmonk'
+ validRegex: /.{1,}/
+ - id: $$cap_listmonk_admin_password
+ label: Listmonk Admin Password
+ defaultValue: $$cap_gen_random_hex(32)
+ validRegex: /.{1,}/
+ instructions:
+ start: |-
+ High performance, self-hosted newsletter and mailing list manager with a modern dashboard
+ end: |-
+ $$cap_appname is deployed
+ displayName: Listmonk
+ isOfficial: false ## Only if all images used here are official or from a trusted source.
+ description: High performance, self-hosted newsletter and mailing list manager with a modern dashboard
+ documentation: This docker-compose is taken https://github.com/knadh/listmonk
diff --git a/public/v4/logos/listmonk.png b/public/v4/logos/listmonk.png
new file mode 100644
index 0000000..0ca8f02
--- /dev/null
+++ b/public/v4/logos/listmonk.png
Binary files differ