-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
193 lines (179 loc) · 5.24 KB
/
main.yml
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
---
container_registry:
url: rg.fr-par.scw.cloud/cwcloud-ce-u7u1q0
gitlab_public_instances:
- https://gitlab.com
- https://lab.frogg.it
web_app_image_tag: ce-3.8.34
api_image_tag: ce-3.11.27
cloud_force_recreate: true
cloud_force_rebuild: true
## Environment variables
cloud_log_level: INFO
cloud_ui_label: "CWCloud Platform"
cloud_ui_url: "cloud.comwork.io"
cloud_git_email: cloud@changeit.com
cloud_git_username: cwcloud-tech
cloud_matomo_url: ""
cloud_matomo_site_id: ""
cloud_avatar_service: "https://avatars.dicebear.com"
cloud_db_name: cloud
cloud_db_user: cloud
cloud_db_port: 5432
cloud_db_password: changeit
cloud_disable_payment_feature: true
cloud_disable_stripe_feature: true
cloud_disable_payment_button: true
cloud_redis_url: "comwork_cloud_cache:6379"
cloud_api_url: https://cloud-api.changeit.com # changeit
cloud_api_version: v1
cloud_doc_url: https://doc.cloud.comwork.io
company_name: changeit
cloud_pulumi_access_token: changeit
cloud_pulumi_passphrase: changeit
cloud_pulumi_backend_url: s3://cwcloud-pulumi-state?endpoint=s3.region.changeit.cloud
cloud_yubico_client_id: changeit
cloud_yubico_client_secret: changeit
cloud_dynamic_repo_id: changeit
cloud_gitlab_url: https://gitlab.yourdomain.com # changeit
cloud_playbook_repo_url: https://gitlab.yourdomain.com/infrastructure/infra-playbook.git # changeit
cloud_playbook_repo_id: 2
gitlab_projectid_issues: 2
cloud_git_private_token: changeit
cloud_sendgrid_api_key: changeit
cloud_access_key_id: changeit
cloud_access_key_secret: changeit
cloud_s3_default_region: sbg
cloud_region: fr-par
cloud_email_adapter: log
cloud_payment_adapter: log
cloud_email_from: cloud@yourdomain.com # changeit
cloud_jwt_key: changeit # base64
cloud_token_ttl: 7200
cloud_os_url: https://auth.cloud.ovh.net/v3/
cloud_os_domain_name: default
cloud_os_username: user-changeit
cloud_os_password: changeit
cloud_os_tenant_name: changeit
cloud_ovh_endpoint: ovh-eu
cloud_ovh_application_key: changeit
cloud_ovh_application_secret: changeit
cloud_ovh_consumer_key: changeit
cloud_ovh_servicename: changeit
cloud_default_provider: ovh
cloud_scw_project_id: changeit
cloud_scw_access_key: changeit
cloud_scw_secret_key: changeit
cloud_price_unit: "€"
cloud_seo_title: "CWCloud self-hosted"
cloud_seo_description: "Self-hosted environment of CWCloud. Go on cloud.comwork.io for further informations"
cloud_seo_keywords: "preproduction, cwcloud"
# FaaS default settings
cloud_faas_enabled: false
cloud_pubsub_adapter: redisstream
cloud_faas_channel_consumer: faas
cloud_faas_channel_triggers: faastriggers
cloud_faas_sleep_time: 3600
cloud_faas_startup_time: 30
cloud_faas_consumer_replicas: 1
# to enable if you want to change the logo
# cloud_external_url: https://url_to_yourlogo/logo.png
ovh_instance_types: &ovhInstancesTypes
- type: d2-4
core: 2 X86 64bit
ram: 4 GB
disk: 50 GB NVMe
bandwidth: 250 Mbps
localstorage: 0 GB
price_variable: PRICE_d2_4
- type: d2-8
core: 4 X86 64bit
ram: 8 GB
disk: 50 GB NVMe
bandwidth: 500 Mbps
localstorage: 0 GB
price_variable: PRICE_d2_8
- type: b2-15
core: 4 X86 64bit
ram: 15 GB
disk: 100 GB NVMe
bandwidth: 250 Mbps
localstorage: 0 GB
price_variable: PRICE_b2_15
providers:
- name: ovh
driver: OvhDriver
regions:
- name: GRA11
zones: ['nova']
- name: SBG5
zones: ['nova']
- name: UK1
zones: ['nova']
- name: DE1
zones: ['nova']
- name: WAW1
zones: ['nova']
- name: BHS5
zones: ['nova']
instance_types: ['d2-4', 'd2-8', 'b2-15']
bucket_types: ['public-read','private']
bucket_available_regions: ['BHS5','GRA11','SBG5']
registry_types: []
registry_available_regions: ['GRA11']
bucket_initial_dns: storage
instance_configs:
- region: SBG5
zones:
- name: nova
instance_types: *ovhInstancesTypes
- region: GRA11
zones:
- name: nova
instance_types: *ovhInstancesTypes
- region: UK1
zones:
- name: nova
instance_types: *ovhInstancesTypes
- region: DE1
zones:
- name: nova
instance_types: *ovhInstancesTypes
- region: WAW1
zones:
- name: nova
instance_types: *ovhInstancesTypes
- region: BHS5
zones:
- name: nova
instance_types: *ovhInstancesTypes
dns_zones: []
firewall_tags: []
images:
- UK1-nova: bbc039ad-1b1c-490c-9aef-a13ce802db5f
- DE1-nova: 05181328-d576-455d-8111-47195374daf0
- BHS5-nova: 7608ec06-8953-4a05-836e-190508fa6464
- WAW1-nova: a700cbe9-799c-4fd9-9246-117433c744cf
- GRA11-nova: e9e315cd-9760-4982-81ce-79c04cdb2810
- SBG5-nova: d357b913-e2a6-4b7e-9dac-0acd0d4acf5b
environments:
- environment: code
extra_subdomains: []
- environment: faasd
extra_subdomains: []
- environment: lt
extra_subdomains: ["*"]
- environment: pgsql
extra_subdomains: ["imalive"]
- environment: mariadb
extra_subdomains: ["imalive"]
- environment: portainer
extra_subdomains: []
- environment: wpaas
extra_subdomains: []
- environment: matomo
extra_subdomains: []
- environment: vps
extra_subdomains: ["imalive"]
- environment: elasticstack
extra_subdomains: ["api", "imalive"]