diff --git a/docker-compose.yml b/docker-compose.yml index 141c40d5..0b894691 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,6 +24,7 @@ services: - redis - meilisearch - selenium + - minio pgsql: image: "postgres:13" ports: @@ -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 @@ -122,3 +140,5 @@ volumes: driver: local sailmeilisearch: driver: local + sail-minio: + driver: local