mpn mbn
10/12/2024, 11:54 AMservices:
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`:
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`:
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`:
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 \"\""
Niro
10/12/2024, 2:49 PMmpn mbn
10/12/2024, 3:02 PMmpn mbn
10/12/2024, 3:03 PMdatabase:
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"