going a bit insane, is there something I am missin...
# help
j
going a bit insane, is there something I am missing here? Trying to get postgres up with lakefs:
Copy code
version: '3.8'

services:
  postgres:
    image: postgres:15.3
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
    healthcheck:
      test: ["CMD", "pg_isready", "-U", "postgres"]
      interval: 10s
      retries: 5
      start_period: 5s
    restart: always

  lakefs:
    image: treeverse/lakefs:latest
    depends_on:
      postgres:
        condition: service_healthy
    ports:
      - "8000:8000"
    environment:
      - LAKEFS_DATABASE_TYPE=postgres
      - LAKEFS_DATABASE_POSTGRES_CONNECTION_STRING="<postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable>"
      - LAKEFS_AUTH_ENCRYPT_SECRET_KEY=secretsecret
      - LAKEFS_BLOCKSTORE_TYPE=s3
      - LAKEFS_BLOCKSTORE_S3_FORCE_PATH_STYLE=true
      - LAKEFS_BLOCKSTORE_S3_ENDPOINT=${S3_ENDPOINT}
      - LAKEFS_BLOCKSTORE_S3_DISCOVER_BUCKET_REGION=false
      - LAKEFS_BLOCKSTORE_S3_CREDENTIALS_ACCESS_KEY_ID=${S3_ACCESS_KEY}
      - LAKEFS_BLOCKSTORE_S3_CREDENTIALS_SECRET_ACCESS_KEY=${S3_SECRET_KEY}
I am receiving this error: `lakefs-1 | time="2024-08-30T082901Z" level=fatal msg="Failed to open KV store" func=cmd/lakefs/cmd.init.func9 file="cmd/run.go:145" error="connect failed: failed to connect to `user=lakefs database=
: /tmp/.s.PGSQL.5432 (/tmp): dial error: dial unix /tmp/.s.PGSQL.5432: connect: no such file or directory"
Searched through the slack and even followed the postgres example on the examples repo. Would appreciate any insight if I am missing something 🙂
i
You’ve probably seen this as well, going through slack. in that case it was a combinations of typos.