Skip to content

Commit

Permalink
pass s3 config to api in compose
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev committed Aug 9, 2022
1 parent 15db787 commit 930eb47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ DATABASE_URL=postgres://postgres:postgrespass@localhost:5432/postgres?schema=api

## S3 ##
########
S3_BUCKET=campaign-files
S3_ENDPOINT=https://cdn-dev.podkrepi.bg
S3_ACCESS_KEY=s3-access-key
S3_SECRET_ACCESS_KEY=s3-secret-access-key
Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ services:
SENDGRID_CONTACTS_URL: ${SENDGRID_CONTACTS_URL?}
STRIPE_SECRET_KEY: ${STRIPE_SECRET_KEY?}
STRIPE_WEBHOOK_SECRET: ${STRIPE_WEBHOOK_SECRET?}
S3_BUCKET: ${S3_BUCKET?}
S3_ENDPOINT: ${S3_ENDPOINT?}
S3_ACCESS_KEY: ${S3_ACCESS_KEY?}
S3_SECRET_ACCESS_KEY: ${S3_SECRET_ACCESS_KEY?}
ports:
- '${API_PORT?}:${API_PORT?}'
depends_on:
Expand Down

1 comment on commit 930eb47

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 72.06% 1736/2409
🔴 Branches 43.28% 190/439
🔴 Functions 44.16% 208/471
🟡 Lines 70.06% 1528/2181

Test suite run success

169 tests passing in 62 suites.

Report generated by 🧪jest coverage report action from 930eb47

Please sign in to comment.