summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/maildev.yml
blob: 54d061c48dff61193e825b7c320a1c73212ed20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
captainVersion: 4
services:
    $$cap_appname:
        image: maildev/maildev:$$cap_maildev_version
        ports:
            - $$cap_maildev_smtp_port:1025
        volumes:
            - $$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:
    variables:
        - id: $$cap_maildev_version
          label: MailDev Version
          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.

            More information about this container can be found here:
            https://hub.docker.com/r/maildev/maildev .

            Official website: https://maildev.github.io/maildev/

            After installation on CapRover, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 1080 to other CapRover apps .

        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