-
Notifications
You must be signed in to change notification settings - Fork 0
/
creoide_deployment_config.json
113 lines (113 loc) · 3.78 KB
/
creoide_deployment_config.json
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
{
"deployment": {
"target": "production",
"environments": {
"development": {
"azure": {
"subscription_id": "YOUR_AZURE_DEV_SUBSCRIPTION_ID",
"tenant_id": "YOUR_AZURE_DEV_TENANT_ID",
"client_id": "YOUR_AZURE_DEV_CLIENT_ID",
"client_secret": "YOUR_AZURE_DEV_CLIENT_SECRET",
"resource_group": "YOUR_AZURE_DEV_RESOURCE_GROUP",
"app_service_plan": "YOUR_AZURE_DEV_APP_SERVICE_PLAN",
"app_name": "YOUR_AZURE_DEV_APP_NAME"
},
"aws": {
"access_key_id": "YOUR_AWS_DEV_ACCESS_KEY_ID",
"secret_access_key": "YOUR_AWS_DEV_SECRET_ACCESS_KEY",
"region": "YOUR_AWS_DEV_REGION",
"s3_bucket": "YOUR_AWS_DEV_S3_BUCKET",
"ec2_instance": "YOUR_AWS_DEV_EC2_INSTANCE"
}
},
"staging": {
"azure": {
"subscription_id": "YOUR_AZURE_STAGING_SUBSCRIPTION_ID",
"tenant_id": "YOUR_AZURE_STAGING_TENANT_ID",
"client_id": "YOUR_AZURE_STAGING_CLIENT_ID",
"client_secret": "YOUR_AZURE_STAGING_CLIENT_SECRET",
"resource_group": "YOUR_AZURE_STAGING_RESOURCE_GROUP",
"app_service_plan": "YOUR_AZURE_STAGING_APP_SERVICE_PLAN",
"app_name": "YOUR_AZURE_STAGING_APP_NAME"
},
"aws": {
"access_key_id": "YOUR_AWS_STAGING_ACCESS_KEY_ID",
"secret_access_key": "YOUR_AWS_STAGING_SECRET_ACCESS_KEY",
"region": "YOUR_AWS_STAGING_REGION",
"s3_bucket": "YOUR_AWS_STAGING_S3_BUCKET",
"ec2_instance": "YOUR_AWS_STAGING_EC2_INSTANCE"
}
},
"production": {
"azure": {
"subscription_id": "YOUR_AZURE_PRODUCTION_SUBSCRIPTION_ID",
"tenant_id": "YOUR_AZURE_PRODUCTION_TENANT_ID",
"client_id": "YOUR_AZURE_PRODUCTION_CLIENT_ID",
"client_secret": "YOUR_AZURE_PRODUCTION_CLIENT_SECRET",
"resource_group": "YOUR_AZURE_PRODUCTION_RESOURCE_GROUP",
"app_service_plan": "YOUR_AZURE_PRODUCTION_APP_SERVICE_PLAN",
"app_name": "YOUR_AZURE_PRODUCTION_APP_NAME"
},
"aws": {
"access_key_id": "YOUR_AWS_PRODUCTION_ACCESS_KEY_ID",
"secret_access_key": "YOUR_AWS_PRODUCTION_SECRET_ACCESS_KEY",
"region": "YOUR_AWS_PRODUCTION_REGION",
"s3_bucket": "YOUR_AWS_PRODUCTION_S3_BUCKET",
"ec2_instance": "YOUR_AWS_PRODUCTION_EC2_INSTANCE"
}
}
},
"database": {
"development": {
"type": "postgresql",
"host": "dev-db-host",
"port": 5432,
"username": "dev-db-user",
"password": "dev-db-password",
"database": "dev-db-name"
},
"staging": {
"type": "postgresql",
"host": "staging-db-host",
"port": 5432,
"username": "staging-db-user",
"password": "staging-db-password",
"database": "staging-db-name"
},
"production": {
"type": "postgresql",
"host": "production-db-host",
"port": 5432,
"username": "production-db-user",
"password": "production-db-password",
"database": "production-db-name"
}
},
"backup": {
"enabled": true,
"schedule": "daily",
"retention_days": 30,
"storage": {
"azure": {
"storage_account": "YOUR_AZURE_STORAGE_ACCOUNT",
"container": "YOUR_AZURE_STORAGE_CONTAINER"
},
"aws": {
"s3_bucket": "YOUR_AWS_S3_BUCKET"
}
}
},
"monitoring": {
"enabled": true,
"services": ["app_performance", "database_health", "security_alerts"],
"azure": {
"application_insights": "YOUR_AZURE_APP_INSIGHTS_ID"
},
"aws": {
"cloudwatch": {
"log_group": "YOUR_AWS_CLOUDWATCH_LOG_GROUP"
}
}
}
}
}