services: database: image: postgres:16 container_name: draincloud-core-db env_file: - ./.db.env volumes: - draincore-data:/var/lib/postgresql/data ports: - 5432:5432 minio: image: quay.io/minio/minio:RELEASE.2024-08-29T01-40-52Z command: server --console-address ":9001" http://minio/data{1...2} hostname: minio volumes: - data-1:/data1 - data-2:/data2 expose: - "9000" - "9001" environment: MINIO_ROOT_USER: minioadmin MINIO_ROOT_PASSWORD: minioadmin healthcheck: test: ["CMD", "mc", "ready", "local"] interval: 5s timeout: 5s retries: 5 volumes: draincore-data: data-1: data-2: