services: postgres: image: postgres:16-alpine restart: unless-stopped ports: - '5432:5432' environment: POSTGRES_PASSWORD: fdlogup POSTGRES_USER: fdlogup POSTGRES_DB: fdlogup volumes: - "postgres:/var/lib/postgresql/data" healthcheck: test: ["CMD-SHELL", "pg_isready -U fdlogup -d fdlogup"] interval: "10s" timeout: "5s" retries: 5 start_period: "5s" grafana: image: grafana/grafana:latest restart: unless-stopped ports: - '3000:3000' depends_on: postgres: condition: service_healthy environment: - GF_INSTALL_PLUGINS=orchestracities-map-panel volumes: - ./grafana:/var/lib/grafana volumes: postgres: grafana: