Skip to content

Commit

Permalink
Update environment variables in docker-compose.minio.yml
Browse files Browse the repository at this point in the history
* Minio changed their environment variable names so reflect that
* Need to pass in AWS_REGION env var for this to work with minio
  • Loading branch information
Daniel Noland authored and jasonwhite committed Oct 3, 2022
1 parent 75080fa commit dfe12f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose.minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ services:
- miniodata:/data
environment:
# force using given key-secret instead of creating at start
- MINIO_ACCESS_KEY=${AWS_ACCESS_KEY_ID}
- MINIO_SECRET_KEY=${AWS_SECRET_ACCESS_KEY}
- MINIO_ROOT_USER=${AWS_ACCESS_KEY_ID}
- MINIO_ROOT_PASSWORD=${AWS_SECRET_ACCESS_KEY}
command: ["server", "/data"]
app:
image: jasonwhite0/rudolfs:latest
Expand All @@ -23,6 +23,7 @@ services:
- data:/data
restart: always
environment:
- AWS_REGION
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
Expand Down

0 comments on commit dfe12f7

Please sign in to comment.