name: darano-gl-standalone services: postgres: image: postgres:17 environment: POSTGRES_DB: gl_db POSTGRES_USER: gl POSTGRES_PASSWORD: ${DARANO_GL_DB_PASSWORD:?Set DARANO_GL_DB_PASSWORD} volumes: - ledger-data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U gl -d gl_db"] interval: 5s timeout: 3s retries: 20 restart: unless-stopped networks: [ledger] gl: image: darano-gl:standalone build: context: .. dockerfile: deployment/Dockerfile args: GO_PROXY: ${GO_PROXY:-https://proxy.golang.org} command: ["-conf", "/app/standalone.toml"] environment: DARANO_GL_DB_PASSWORD: ${DARANO_GL_DB_PASSWORD:?Set DARANO_GL_DB_PASSWORD} DARANO_GL_ADMIN_TOKEN: ${DARANO_GL_ADMIN_TOKEN:?Set DARANO_GL_ADMIN_TOKEN} volumes: - ./gl.standalone.toml:/app/standalone.toml:ro ports: ["127.0.0.1:8600:8600"] depends_on: postgres: condition: service_healthy healthcheck: test: ["CMD", "/app/healthcheck", "-conf", "/app/standalone.toml", "-grpc"] interval: 5s timeout: 5s retries: 20 restart: unless-stopped networks: [ledger] dashboard: image: darano-gl:standalone entrypoint: ["/app/dashboard"] command: ["-conf", "/app/standalone.toml"] environment: DARANO_GL_DB_PASSWORD: ${DARANO_GL_DB_PASSWORD:?Set DARANO_GL_DB_PASSWORD} volumes: - ./dashboard.standalone.toml:/app/standalone.toml:ro ports: ["127.0.0.1:8601:8601"] depends_on: gl: condition: service_healthy restart: unless-stopped networks: [ledger] volumes: ledger-data: networks: ledger: internal: true