Skip to content

Commit

Permalink
fix: add minio container to docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
NishaSharma14 committed Mar 2, 2023
1 parent 56848b2 commit 0928851
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ services:
- redis
- meilisearch
- selenium
- minio
pgsql:
image: "postgres:13"
ports:
Expand Down Expand Up @@ -112,6 +113,23 @@ services:
- "/dev/shm:/dev/shm"
networks:
- sail
minio:
image: 'minio/minio:latest'
ports:
- '${FORWARD_MINIO_PORT:-9000}:9000'
- '${FORWARD_MINIO_CONSOLE_PORT:-8900}:8900'
environment:
MINIO_ROOT_USER: 'sail'
MINIO_ROOT_PASSWORD: 'password'
volumes:
- 'sail-minio:/data/minio'
networks:
- sail
command: minio server /data/minio --console-address ":8900"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
retries: 3
timeout: 5s
networks:
sail:
driver: bridge
Expand All @@ -122,3 +140,5 @@ volumes:
driver: local
sailmeilisearch:
driver: local
sail-minio:
driver: local

0 comments on commit 0928851

Please # to comment.