From 0050bfdedae1f051e36e848b96bee1252995b1d8 Mon Sep 17 00:00:00 2001 From: molu8bits Date: Sat, 28 May 2022 11:15:54 +0200 Subject: [PATCH] docker-compose-fix --- docker-compose.yaml | 47 +++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 0738c78..e715ace 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,23 +1,24 @@ -services: - s3bucketexporter: - image: docker.io/molu8bits/s3bucket_exporter:0.3 - restart: always - ports: - - "9655:9655" - environment: - S3_ENDPOINT: https://s3.us-east-1.amazonaws.com - LISTEN_PORT: ":9655" - S3_ACCESS_KEY: ABCD12345678 - S3_SECRET_KEY: mySecretKey - S3_NAME: MyS3Endpoint2 - S3_REGION: us-east-1 - S3_DISABLE_SSL: False - S3_DISABLE_ENDPOINT_HOST_PREFIX: True - S3_FORCE_PATH_STYLE: True - LOG_LEVEL: Info - healthcheck: - test: curl -s -f http://localhost:9655/metrics - timeout: 30s - interval: 2m - retries: 3 - start_period: 30s +version: "3.5" +services: + s3bucketexporter: + image: docker.io/molu8bits/s3bucket_exporter:0.3 + restart: always + ports: + - "9655:9655" + environment: + S3_ENDPOINT: https://s3.us-east-1.amazonaws.com + LISTEN_PORT: ":9655" + S3_ACCESS_KEY: ABCD12345678 + S3_SECRET_KEY: mySecretKey + S3_NAME: MyS3Endpoint2 + S3_REGION: us-east-1 + S3_DISABLE_SSL: "False" + S3_DISABLE_ENDPOINT_HOST_PREFIX: "True" + S3_FORCE_PATH_STYLE: "True" + LOG_LEVEL: Info + healthcheck: + test: curl -s -f http://localhost:9655/metrics + timeout: 30s + interval: 2m + retries: 3 + start_period: 30s