Skip to content

Commit

Permalink
Added storage details into the API
Browse files Browse the repository at this point in the history
  • Loading branch information
changesbyjames committed Sep 4, 2024
1 parent ae316f8 commit af7da78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions infrastructure/pulumi/Pulumi.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ config:
crittercapture:ui-domain: www.crittercapture.club
crittercapture:api-domain: api.crittercapture.club
crittercapture:api-certificate-name: api.crittercapture.club-critterc-240904131143
crittercapture:image-resize-cdn-url: https://crittercapture.club/cdn-cgi/image
7 changes: 6 additions & 1 deletion infrastructure/pulumi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,11 @@ export = async () => {
TWITCH_CLIENT_SECRET: config.require('twitch-client-secret'),
TWITCH_USERNAME: config.require('twitch-username'),
UI_URL: `https://${config.require('ui-domain')}`,
API_URL: `https://${config.require('api-domain')}`
API_URL: `https://${config.require('api-domain')}`,

STORAGE_ACCOUNT_NAME: storage.name,
STORAGE_ACCOUNT_KEY: key,
CONTAINER_NAME: container.name
},
image: config.require('api-image'),
scale: {
Expand Down Expand Up @@ -193,6 +197,7 @@ export = async () => {
env: {
variables: {
apiBaseUrl: `https://${config.require('api-domain')}`,
imageResizeCDNUrl: config.require('image-resize-cdn-url'),
appInsightsConnectionString: appInsights.connectionString
},
flags: {}
Expand Down

0 comments on commit af7da78

Please sign in to comment.