forked from omnistrate-oss/customer-portal
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
138 lines (138 loc) · 4.33 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
138 lines (138 loc) · 4.33 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
version: '3.9'
x-omnistrate-integrations:
- omnistrateLogging
- omnistrateMetrics
services:
SaaSBuilder:
image: ghcr.io/omnistrate-oss/customer-portal:latest
ports:
- '8080:8080'
environment:
- PROVIDER_EMAIL=$var.providerEmail
- PROVIDER_PASSWORD=$var.providerPassword
- YOUR_SAAS_DOMAIN_URL=$sys.network.externalClusterEndpoint
- MAIL_SMTP_HOST=$var.smtpHost
- MAIL_SMTP_PORT=$var.smtpPort
- MAIL_USER_EMAIL=$var.senderEmail
- MAIL_USER_PASSWORD=$var.senderPassword
- MAIL_FROM=$var.senderFrom
- GOOGLE_ANALYTICS_TAG_ID=$var.googleAnalyticsTagID
- GOOGLE_RECAPTCHA_SITE_KEY=$var.googleReCaptchaSiteKey
- GOOGLE_RECAPTCHA_SECRET_KEY=$var.googleReCaptchaSecretKey
- ENVIRONMENT_TYPE=$var.environmentType
x-omnistrate-compute:
instanceTypes:
- cloudProvider: aws
apiParam: instanceType
- cloudProvider: gcp
apiParam: instanceType
x-omnistrate-capabilities:
httpReverseProxy:
targetPort: 8080
enableMultiZone: true
autoscaling:
maxReplicas: 10
minReplicas: 2
idleMinutesBeforeScalingDown: 2
idleThreshold: 20
overUtilizedMinutesBeforeScalingUp: 3
overUtilizedThreshold: 80
x-omnistrate-api-params:
- key: instanceType
description: Instance Type
name: Instance Type
type: String
modifiable: true
required: true
export: true
- key: providerEmail
description: Service provider Omnistrate email address
name: Omnistrate email
type: String
modifiable: true
required: true
export: true
- key: providerPassword
description: Service provider Omnistrate account password
name: Omnistrate password
type: Password
modifiable: true
required: true
export: false
- key: smtpHost
description: The SMTP host to be used for sending emails
name: SMTP Host
type: String
modifiable: true
required: false
export: true
defaultValue: smtp.gmail.com
- key: smtpPort
description: The SMTP port to connect to
name: SMTP Port
type: String
modifiable: true
required: false
export: true
defaultValue: '587'
- key: senderEmail
description: email address to login to the SMTS provider
name: SMTS email address
type: String
modifiable: true
required: true
export: true
- key: senderPassword
description: Password to authorize against the SMTS provider
name: SMTS password
type: Password
modifiable: true
required: true
export: false
- key: senderFrom
description: Add a separate From email address if different from Sender email address, otherwise leave blank
name: From Email address
type: String
modifiable: true
required: false
export: true
defaultValue: From Email address
- key: googleAnalyticsTagID
description: Add Google Analytics tag ID, leave blank if you dont have any
name: Google Analytics tag ID
type: String
modifiable: true
required: false
export: true
defaultValue: Google Analytics tag ID
- key: googleReCaptchaSiteKey
description: Add Google reCAPTCHA(v2 Invisible) Site Key, leave blank if you dont have any
name: Google reCAPTCHA Site Key
type: String
modifiable: true
required: false
export: true
defaultValue: DISABLED
- key: googleReCaptchaSecretKey
description: Add Google reCAPTCHA(v2 Invisible) Secret Key, leave blank if you dont have any
name: Google reCAPTCHA Secret Key
type: String
modifiable: true
required: false
export: true
defaultValue: DISABLED
- key: environmentType
description: The environment type for your application
name: Environment Type
type: String
modifiable: true
required: false
export: true
defaultValue: Production
labeledOptions:
Canary: CANARY
Dev: DEV
Private: PRIVATE
Production: PROD
QA: QA
Staging: STAGING