forked from omnistrate-oss/saasbuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsaasbuilder-docker-compose.yaml
122 lines (122 loc) · 3.87 KB
/
saasbuilder-docker-compose.yaml
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
version: '3.9'
x-omnistrate-integrations:
- omnistrateLogging
- omnistrateMetrics
services:
SaaSBuilder:
image: ghcr.io/omnistrate/saasbuilder: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
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: String
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: String
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