mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-08-26 06:29:38 +00:00
Update configuration and documentation for syncrow.ae domain
This commit is contained in:
@ -168,7 +168,7 @@ export class BackendStack extends cdk.Stack {
|
||||
props.certificateArn,
|
||||
)
|
||||
: new acm.Certificate(this, 'ApiCertificate', {
|
||||
domainName: 'api.syncrow.me',
|
||||
domainName: 'api.syncos.syncrow.ae',
|
||||
validation: acm.CertificateValidation.fromDns(),
|
||||
});
|
||||
|
||||
@ -182,9 +182,9 @@ export class BackendStack extends cdk.Stack {
|
||||
memoryLimitMiB: 1024,
|
||||
cpu: 512,
|
||||
desiredCount: 2,
|
||||
domainName: 'api.syncrow.me',
|
||||
domainName: 'api.syncos.syncrow.ae',
|
||||
domainZone: route53.HostedZone.fromLookup(this, 'SyncrowZone', {
|
||||
domainName: 'syncrow.me',
|
||||
domainName: 'syncrow.ae',
|
||||
}),
|
||||
certificate: apiCertificate,
|
||||
protocol: elbv2.ApplicationProtocol.HTTPS,
|
||||
@ -356,7 +356,7 @@ export class BackendStack extends cdk.Stack {
|
||||
// Grant ECS task access to RDS credentials
|
||||
dbSecret.grantRead(fargateService.taskDefinition.taskRole);
|
||||
|
||||
this.apiUrl = 'https://api.syncrow.me';
|
||||
this.apiUrl = 'https://api.syncos.syncrow.ae';
|
||||
this.databaseEndpoint = dbCluster.clusterEndpoint.hostname;
|
||||
|
||||
// Outputs
|
||||
|
Reference in New Issue
Block a user