diff --git a/.env b/.env index 04737405d..83b3cbeda 100644 --- a/.env +++ b/.env @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 20e49ef63..696708461 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: