GitHub user Hawolex added a comment to the discussion: compose-hertzbeat keeps 
failing on NEW deployment

Adding my compose file
 <details>
  <summary>Click me</summary>

```
version: "3.7"

networks:
  hertzbeat:
    driver: bridge

services:
  postgres:
    image: postgres:15
    container_name: compose-postgresql
    hostname: postgresql
    restart: always
    healthcheck:
      test: [ "CMD", "pg_isready" ]
      interval: 10s
      timeout: 5s
      retries: 5
      start_period: 30s
    ports:
      - '5432:5432'
    environment:
      POSTGRES_USER: root
      POSTGRES_PASSWORD: 123456
      TZ: Europe/Oslo
    volumes:
      - ./dbdata/pgdata/data:/var/lib/postgresql/data
      - ./conf/sql:/docker-entrypoint-initdb.d/      
    networks:
      - hertzbeat

  victoria-metrics:
    image: victoriametrics/victoria-metrics:v1.95.1
    container_name: compose-victoria-metrics
    hostname: victoria-metrics
    restart: always
    healthcheck:
      test: ["CMD", "wget", "-q", "-O", "-", 
"http://victoria-metrics:8428/-/healthy";]
      interval: 10s
      retries: 5
      timeout: 5s
      start_period: 30s
    environment:
      TZ: Europe/Oslo
    ports:
      - "8428"
    volumes:
      - ./dbdata/tsdbdata:/victoria-metrics-data
    networks:
      - hertzbeat

  hertzbeat:
    image: apache/hertzbeat
    container_name: compose-hertzbeat
    hostname: hertzbeat
    restart: always
    environment:
      TZ: Europe/Oslo
      LANG: nb_NO.UTF-8
    depends_on:
      postgres:
        condition: service_healthy
      victoria-metrics:
        condition: service_healthy
    volumes:
      - ./conf/application.yml:/opt/hertzbeat/config/application.yml
      - ./conf/sureness.yml:/opt/hertzbeat/config/sureness.yml
      - ./logs:/opt/hertzbeat/logs
      - ./ext-lib:/opt/hertzbeat/ext-lib
    ports:
      - "1157:1157"
      - "1158:1158"
    networks:
      - hertzbeat


```
</details>

As you can se only timezone and unicode change.
Have tried the original unicode aswell with same outcome. 

GitHub link: 
https://github.com/apache/hertzbeat/discussions/2760#discussioncomment-10830591

----
This is an automatically sent email for dev@hertzbeat.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@hertzbeat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hertzbeat.apache.org
For additional commands, e-mail: dev-h...@hertzbeat.apache.org

Reply via email to