services:museum:build:context:.args:GIT_COMMIT:development-clusterports:-8080:8080# API-2112:2112# Prometheus metricsdepends_on:postgres:condition:service_healthyenvironment:# Pass-in the config to connect to the DB and MinIOENTE_CREDENTIALS_FILE:/credentials.yamlvolumes:-custom-logs:/var/logs-./museum.yaml:/museum.yaml:ro-./scripts/compose/credentials.yaml:/credentials.yaml:ro-./data:/data:ronetworks:-internal# Resolve "localhost:3200" in the museum container to the minio container.socat:image:alpine/socatnetwork_mode:service:museumdepends_on:-museumcommand:"TCP-LISTEN:3200,fork,reuseaddrTCP:minio:3200"postgres:image:postgres:15ports:-5432:5432environment:POSTGRES_USER:pguserPOSTGRES_PASSWORD:pgpassPOSTGRES_DB:ente_db# Wait for postgres to accept connections before starting museum.healthcheck:test:["CMD","pg_isready","-q","-d","ente_db","-U","pguser"]start_period:40sstart_interval:1svolumes:-postgres-data:/var/lib/postgresql/datanetworks:-internalminio:image:minio/minio# Use different ports than the minio defaults to avoid conflicting# with the ports used by Prometheus.ports:-3200:3200# API-3201:3201# Consoleenvironment:MINIO_ROOT_USER:testMINIO_ROOT_PASSWORD:testtestcommand:server /data --address ":3200" --console-address ":3201"volumes:-minio-data:/datanetworks:-internalminio-provision:image:minio/mcdepends_on:-miniovolumes:-./scripts/compose/minio-provision.sh:/provision.sh:ro-minio-data:/datanetworks:-internalentrypoint:sh /provision.shvolumes:custom-logs:postgres-data:minio-data:networks:internal: