Adi Polak
03/12/2023, 1:44 PMdocker ps
.
I've noticed that there is a lakeCTL command in the lakefs-setup -> && lakectl repo create <lakefs://example>
<s3://example>
any idea if the things are connected? or how to fix it?
lakefs-setup:
image: treeverse/lakefs:latest
container_name: lakefs-setup
depends_on:
- postgres
- minio-setup
environment:
- LAKEFS_AUTH_ENCRYPT_SECRET_KEY=some random secret string
- LAKEFS_DATABASE_CONNECTION_STRING=<postgres://lakefs:lakefs@postgres/postgres?sslmode=disable>
- LAKECTL_CREDENTIALS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
- LAKECTL_CREDENTIALS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
- LAKECTL_SERVER_ENDPOINT_URL=<http://lakefs:8000>
- LAKEFS_BLOCKSTORE_TYPE=s3
entrypoint: ["/app/wait-for", "postgres:5432", "--", "sh", "-c",
"lakefs setup --user-name docker --access-key-id AKIAIOSFODNN7EXAMPLE --secret-access-key wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY && lakectl repo create <lakefs://example> <s3://example>"
]
Barak Amar
03/12/2023, 2:17 PMNiro
03/12/2023, 2:22 PMAdi Polak
03/12/2023, 2:24 PMlakectl
might not be the case.
2. lakectl is configured on my machine under bash configuration.
3. I am using this compose under the project deployment
Barak Amar
03/12/2023, 2:26 PMAdi Polak
03/12/2023, 2:33 PMmain
branch and not master
🤦♀️
Now everything works. thanks @Niro and @Barak Amar!