Skip to content

Commit

Permalink
Update minio invocation
Browse files Browse the repository at this point in the history
- Remove 127.0.0.1 prefix on ports
  • Loading branch information
tnagorra committed Apr 15, 2024
1 parent 07a9559 commit 46bdda8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ services:
image: minio/minio:latest
restart: on-failure
entrypoint: sh
command: -c '/opt/bin/minio server /data'
command: -c 'minio server /data'
environment:
MINIO_ROOT_USER: ${RESOURCES_S3_ACCESS_KEY}
MINIO_ROOT_PASSWORD: ${RESOURCES_S3_SECRET_KEY}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-test-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ services:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: test
ports:
- 127.0.0.1:5432:5432
- 5432:5432
6 changes: 3 additions & 3 deletions docker-compose-test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ services:
image: minio/minio:latest
restart: on-failure
entrypoint: sh
command: -c 'mkdir -p /data/resources && /opt/bin/minio server /data --console-address ":9001"'
command: -c 'mkdir -p /data/resources && minio server /data --console-address ":9001"'
environment:
MINIO_ROOT_USER: user
MINIO_ROOT_PASSWORD: password
MINIO_ROOT_USER: ${RESOURCES_S3_ACCESS_KEY}
MINIO_ROOT_PASSWORD: ${RESOURCES_S3_SECRET_KEY}
ports:
- 9000:9000
- 9001:9001
13 changes: 8 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,31 @@ services:
volumes:
- ./docker-volumes/postgres:/var/lib/postgresql/data
ports:
- 127.0.0.1:5432:5432
- 5432:5432

redis:
image: redis:7-alpine
restart: on-failure
ports:
- 127.0.0.1:6379:6379
- 6379:6379

minio:
image: minio/minio:latest
restart: on-failure
entrypoint: sh
command: -c '/opt/bin/minio server /data --console-address ":9001"'
command: -c 'minio server /data --console-address ":9001"'
environment:
MINIO_ROOT_USER: ${RESOURCES_S3_ACCESS_KEY}
MINIO_ROOT_PASSWORD: ${RESOURCES_S3_SECRET_KEY}
ports:
- 127.0.0.1:9000:9000
- 127.0.0.1:9001:9001
- 9000:9000
- 9001:9001
volumes:
- ./docker-volumes/minio:/data

# Only for development
mailhog:
image: mailhog/mailhog
ports:
- 1025:1025
- 8025:8025

0 comments on commit 46bdda8

Please sign in to comment.