summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/rallly.yml
blob: 1b31fee0c927dd39ead35c784bcaafc6274a2a81 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
captainVersion: 4
services:
    $$cap_appname:
        restart: always
        depends_on:
            - $$cap_appname-postgres
        image: 'lukevella/rallly:$$cap_rallly_version'
        environment:
            NEXT_PUBLIC_BASE_URL: 'http://$$cap_appname.$$cap_root_domain'
            DATABASE_URL: >-
                postgres://rallly:$$cap_rallly_postgres_password@srv-captain--$$cap_appname-postgres:5432/db
            SECRET_PASSWORD: $$cap_rallly_passwd
            SUPPORT_EMAIL: $$cap_rallly_email
            SMTP_HOST: $$cap_rallly_smtp_host
            SMTP_PORT: $$cap_rallly_smtp_port
            SMTP_SECURE: $$cap_rallly_smtp_secure
            SMTP_USER: $$cap_rallly_smtp_user
            SMTP_PWD: $$cap_rallly_smtp_pwd
        caproverExtra:
            containerHttpPort: '3000'
    $$cap_appname-postgres:
        image: 'postgres:12'
        volumes:
            - '$$cap_appname-postgres-data:/var/lib/postgresql/data'
        restart: always
        environment:
            POSTGRES_USER: rallly
            POSTGRES_PASSWORD: $$cap_rallly_postgres_password
            POSTGRES_DB: db
        caproverExtra:
            notExposeAsWebApp: 'true'
caproverOneClickApp:
    variables:
        - id: $$cap_rallly_version
          label: Rallly Version
          defaultValue: ac55701890cd866ee946deb25e2b2839fb14900e
          description: >-
              Check out the docker page for valid tags
              https://hub.docker.com/r/lukevella/rallly/tags
          validRegex: '/^([^\s^\/])+$/'
        - id: $$cap_rallly_passwd
          label: Rallly Password
          description: >-
              A long string (minimum 32 characters) that is used to encrypt session
              data.
          defaultValue: $$cap_gen_random_hex(64)
          validRegex: '/^[^\@]{32,}$/'
        - id: $$cap_rallly_email
          label: Rallly From Email
          validRegex: '/^([^\s^\/])+$/'
          description: >-
              An email address that will appear as the FROM email for all emails being
              sent out.
        - id: $$cap_rallly_smtp_host
          label: Rallly SMTP Host
          description: Host name of your SMTP server
        - id: $$cap_rallly_smtp_port
          label: Rallly SMTP Port
          defaultValue: 465
          validRegex: '/.{1,}/'
          description: Port of your SMTP server
        - id: $$cap_rallly_smtp_secure
          label: Requires secure SMTP connection? true/false
          defaultValue: false
          validRegex: /^(false|true)$/
          description: Set to "true" if SSL is enabled for your SMTP connection
        - id: $$cap_rallly_smtp_user
          label: Rallly SMTP user
          description: Username to use for your SMTP connection
        - id: $$cap_rallly_smtp_pwd
          label: Rallly SMTP password
          description: Password to use for your SMTP connection
        - id: $$cap_rallly_postgres_password
          label: Password
          description: Postgres password (minimum 12 characters)
          defaultValue: $$cap_gen_random_hex(64)
          validRegex: '/^[^\@]{12,}$/'
    instructions:
        start: >-
            Install Rallly, an open source Doodle poll alternative. Find the best date
            for a meeting with your colleagues or friends without the back and forth
            emails. https://rallly.co/
        end: "You're done! \U0001F604 Your service is available at http://$$cap_appname.$$cap_root_domain"
    displayName: Rallly
    isOfficial: true
    description: >-
        Doodle poll alternative. Find the best date for a meeting with your
        colleagues or friends without the back and forth emails. This app is
        packaged with PostgreSQL.
    documentation: 'Taken from https://hub.docker.com/r/lukevella/rallly'