Skip to content

Commit

Permalink
Environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
luccasmmg committed Nov 7, 2023
1 parent 229a705 commit 9136343
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions ckan-backend-dev/docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,24 @@ services:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:8800"]

frontend:
container_name: wri-frontend
build:
context: ../deployment/frontend/
args:
NEXTAUTH_SECRET: secret
NEXTAUTH_URL: http://localhost:3000
CKAN_URL: http://localhost:5000
S3_ACCESS_KEY_ID: ${MINIO_ROOT_USER}
S3_SECRET_KEY_ID: ${MINIO_ROOT_PASSWORD}
S3_BUCKET_NAME: ckan
S3_BUCKET_REGION: us-east-1
- NEXTAUTH_SECRET=secret
- NEXTAUTH_URL=http://localhost:3000
- CKAN_URL=http://localhost:5000
- S3_ACCESS_KEY_ID=${MINIO_ROOT_USER}
- S3_SECRET_KEY_ID=${MINIO_ROOT_PASSWORD}
- S3_BUCKET_NAME=ckan
- S3_BUCKET_REGION=us-east-1
environment:
- NEXTAUTH_SECRET=secret
- NEXTAUTH_URL=http://localhost:3000
- CKAN_URL=http://localhost:5000
- S3_ACCESS_KEY_ID=${MINIO_ROOT_USER}
- S3_SECRET_KEY_ID=${MINIO_ROOT_PASSWORD}
- S3_BUCKET_NAME=ckan
- S3_BUCKET_REGION=us-east-1
ports:
- "0.0.0.0:3000:3000"
healthcheck:
Expand Down

0 comments on commit 9136343

Please sign in to comment.