Hello Team, I still can't get ACL to work. Here i...
# help
m
Hello Team, I still can't get ACL to work. Here is my Postgres `docker-compose.yaml`:
Copy code
services:
  postgres:
    container_name: pg-lakefs
    image: postgres:13
    ports:
      - "5432:5432"
    environment:
      POSTGRES_DB: lakefs
      POSTGRES_USER: lakefs
      POSTGRES_PASSWORD: lakefs
    volumes:
      - pg_data:/var/lib/postgresql/data
volumes:
  pg_data:
Here is my ACL `config.yaml`:
Copy code
listen_address: ":8001"

database:
  type: "postgres"
  postgres:
    connection_string: "<postgres://lakefs:lakefs@localhost:5432/lakefs?sslmode=disable>"

encrypt:
  secret_key: "secret"
Here is my `.lakefs.yaml`:
Copy code
database:
  type: "postgres"
  postgres:
    connection_string: "<postgres://lakefs:lakefs@localhost:5432/lakefs?sslmode=disable>"

blockstore:
  type: local
  local:
    path: ~/Code/lakefs/data

auth:
  remote_authenticator:
    enabled: true
    endpoint: <http://localhost:8001/api/v1/auth>
    default_user_group: "Developers"
  ui_config:
    RBAC: simplified
  encrypt:
    secret_key: "secret"
The logs I get when I `lakefs run`:
Copy code
INFO   [2024-10-12T14:51:19+03:00]pkg/auth/service.go:953 pkg/auth.(*APIAuthService).CheckHealth Performing health check, this can take up to 20s
FATAL  [2024-10-12T14:51:37+03:00]cmd/lakefs/cmd/run.go:123 cmd/lakefs/cmd.NewAuthService Auth API health check failed                  error="Get \"/healthcheck\": unsupported protocol scheme \"\""
n
Hi @mpn mbn, I think you need to fix your lakeFS configuration. Please follow this documentation
m
Thanks @Niro, saved my life as usual.
jumping lakefs 1
Fixed config for the future generations:
Copy code
database:
  type: "postgres"
  postgres:
    connection_string: "<postgres://lakefs:lakefs@localhost:5432/lakefs?sslmode=disable>"

blockstore:
  type: local
  local:
    path: ~/Code/lakefs/data

auth:
  remote_authenticator:
    enabled: true
    endpoint: <http://localhost:8001/api/v1/auth>
    default_user_group: "Developers"
  api:
    endpoint: <http://localhost:8001/api/v1>
  ui_config:
    RBAC: simplified
  encrypt:
    secret_key: "secret"
🦜 1