Skip to content

Commit 20d00db

Browse files
authored
Merge pull request #259 from treeverse/enterprise-demo-license-inforcement
Modified Enterprise demo to incorporate licensing
2 parents a77ecbc + b529753 commit 20d00db

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

02_lakefs_enterprise/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ cd lakeFS-samples/02_lakefs_enterprise
1515

1616
### **Run a lakeFS Enterprise server**
1717

18-
Login to [Treeverse Dockerhub](https://hub.docker.com/u/treeverse) by using the granted token so lakeFS Enterprise proprietary image can be retrieved. [Contact Sales](https://lakefs.io/contact-sales/) to get the token for lakeFS Enterprise:
18+
Login to [Treeverse Dockerhub](https://hub.docker.com/u/treeverse) by using the granted token so lakeFS Enterprise proprietary image can be retrieved. [Contact Sales](https://lakefs.io/contact-sales/) to get the token and license file for lakeFS Enterprise:
1919

2020
```bash
2121
docker login -u externallakefs
2222
```
2323

24-
Run following command to provision a lakeFS Enterprise server as well as MinIO for your object store, plus Jupyter:
24+
Copy the lakeFS license file to "lakeFS-samples/02_lakefs_enterprise" folder, then change lakeFS license file name and installation ID in the following command and run the command to provision a lakeFS Enterprise server as well as MinIO for your object store, plus Jupyter:
2525

2626
```bash
27-
docker compose up
27+
LAKEFS_LICENSE_FILE_NAME=license-org-name-installation-id.token LAKEFS_INSTALLATION_ID=installation-id docker compose up
2828
```
2929

3030
Once the stack's up and running, open the Jupyter Notebook (http://localhost:8894) and check out the [catalog of sample notebooks](../00_notebooks/00_index.ipynb) to explore lakeFS.

02_lakefs_enterprise/docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ services:
4040
- LAKEFS_DATABASE_POSTGRES_CONNECTION_STRING=postgres://lakefs:lakefs@postgres/postgres?sslmode=disable
4141
- LAKEFS_AUTH_UI_CONFIG_RBAC=internal
4242
- LAKEFS_FEATURES_ICEBERG_CATALOG=true
43+
- LAKEFS_LICENSE_PATH=/tmp/lakefs/$LAKEFS_LICENSE_FILE_NAME
44+
- LAKEFS_INSTALLATION_FIXED_ID=$LAKEFS_INSTALLATION_ID
45+
volumes:
46+
- $PWD:/tmp/lakefs
4347
entrypoint: ["/bin/sh", "-c"]
4448
command:
4549
- |

0 commit comments

Comments
 (0)