version: '3.3' #from https://github.com/Anagraph/minio-docker-config services: # minio server service minio-server: image: minio/minio restart: always # volumes: # - ${MINIO_DATA_ROOT_DIR}:/data ports: - "9000:9000" environment: MINIO_ROOT_USER: ${UN} MINIO_ROOT_PASSWORD: ${PW} command: server /data minio-client: image: minio/mc depends_on: - minio-server entrypoint: > /bin/sh -c " /usr/bin/mc config; /usr/bin/mc config host add myminio http://minio-server:9000 ${UN} ${PW}; /usr/bin/mc mb myminio/bad-test-data --with-versioning; exit 0; " cloud-config-server: image: registry.jetbrains.team/p/ij/test-containers/cloudconfig:535-20 depends_on: - minio-server environment: CLOUDCONFIG_KARA_ENVIRONMENT: "development" CLOUDCONFIG_KARA_S3_BUCKET: "bad-test-data" CLOUDCONFIG_KARA_S3_PREFIX: "cloud-config-test/" CLOUDCONFIG_KARA_AWS_REGION: "eu-west-1" CLOUDCONFIG_KARA_S3_ENDPOINT: "http://minio-server:9000" AWS_ACCESS_KEY_ID: "${UN}" AWS_SECRET_KEY: "${PW}" CLOUDCONFIG_KARA_AUTH_SCHEME: "DUMMY_AUTH" # unused, but required for app to start CLOUDCONFIG_ACCOUNT_URL: "http://localhost:59999" ports: - "7777:7777"