diff options
| author | Andre Kutianski <[email protected]> | 2022-08-15 02:18:45 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-08-14 22:18:45 -0700 |
| commit | 85f739fb0d0c40883f40602e51e8251292000383 (patch) | |
| tree | 5971e66d4f892216369340f7ddd861ce985248ed | |
| parent | 2bf0c2a15287399cb04acf9438f2c93c1b097ac3 (diff) | |
| download | caprover-one-click-apps-85f739fb0d0c40883f40602e51e8251292000383.tar.gz caprover-one-click-apps-85f739fb0d0c40883f40602e51e8251292000383.zip | |
update maildev.yml (#701)
* add MailDev to one-click-apps #695
* update maildev.yml
| -rw-r--r-- | public/v4/apps/maildev.yml | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/public/v4/apps/maildev.yml b/public/v4/apps/maildev.yml index 945b6c4..54d061c 100644 --- a/public/v4/apps/maildev.yml +++ b/public/v4/apps/maildev.yml @@ -2,10 +2,16 @@ captainVersion: 4 services: $$cap_appname: image: maildev/maildev:$$cap_maildev_version + ports: + - $$cap_maildev_smtp_port:1025 volumes: - - /var/run/docker.sock:/var/run/docker.sock - $$cap_appname-data:/data restart: always + environment: + MAILDEV_SMTP_PORT: $$cap_maildev_smtp_port + MAILDEV_MAIL_DIRECTORY: /data + MAILDEV_WEB_USER: $$cap_maildev_web_user + MAILDEV_WEB_PASS: caproverExtra: containerHttpPort: '1080' caproverOneClickApp: @@ -15,6 +21,19 @@ caproverOneClickApp: defaultValue: 2.0.5 description: Check out their Docker page for the valid tags https://hub.docker.com/r/maildev/maildev/tags validRegex: /^([^\s^\/])+$/ + - id: $$cap_maildev_smtp_port + label: Maildev SMTP Port + defaultValue: 1025 + description: Maildev SMTP Port. Defaults to 1025. + validRegex: /^([^\s^\/])+$/ + - id: $$cap_maildev_web_user + label: Web User + defaultValue: admin + description: Maildev HTTP user for GUI. + - id: $$cap_maildev_web_pass + label: Web Pass + defaultValue: $$cap_gen_random_hex(4) + description: HTTP password for GUI. instructions: start: >- MailDev is a simple way to test your project's generated email during development, with an easy to use web interface that runs on your machine built on top of Node.js. @@ -26,9 +45,8 @@ caproverOneClickApp: After installation on CapRover, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 1080 to other CapRover apps . - Port Mapping: You need map port 1025 to the container application to get inbound mail work . - end: MailDev is a simple way to test your project's generated email during development - displayName: '' + end: Congrats! Your Maildev container is up and running. + displayName: 'Maildev' isOfficial: true description: MailDev is a simple way to test your project's generated email during development. documentation: Taken from https://hub.docker.com/r/maildev/maildev |
