You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started/installing-feast.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,18 +20,32 @@ A docker compose file is provided to quickly test Feast with official docker ima
20
20
* Retrieve features for online serving
21
21
* Updating the feature set
22
22
23
+
The docker compose setup uses Direct Runner for the Apache Beam jobs.
24
+
23
25
### 0. Requirements
24
26
25
27
1.[Docker compose](https://docs.docker.com/compose/install/) should be installed.
26
-
2. Port 6565, 6566 and 8888 are not in used. Otherwise, modify the port mappings in `infra/docker-compose/docker-compose.yml` to use unoccupied ports.
28
+
2. Port 6565, 6566 and 8888, 9094 are not in used. Otherwise, modify the port mappings in `infra/docker-compose/docker-compose.yml` to use unoccupied ports.
29
+
3. For batch serving, you will also need a service account key that has access to GCS and BigQuery. Port 6567 will be used for the batch serving endpoint.
27
30
28
-
### 1. Step-by-step guide
31
+
### 1. Step-by-step guide (Online serving)
29
32
1. Navigate to `infra/docker-compose`.
30
33
2. Copy `.env.sample` to `.env`.
31
34
3.`docker-compose up -d`
32
35
4. A jupyter notebook server should be accessible via `localhost:8888`
33
36
5. Please wait a minute or two for the Feast services to be ready before running the notebook. You will know that the services are ready when port `6565` and `6566` starts listening.
34
37
38
+
### 2. Step-by-step guide (Batch serving)
39
+
1. Navigate to `infra/docker-compose`.
40
+
2. Copy `.env.sample` to `.env`.
41
+
3. Copy your GCP account service key(s) to `infra/docker-compose/gcp-service-accounts`.
42
+
4. Modify the value of `FEAST_<SERVICE_NAME>_GCP_SERVICE_ACCOUNT_KEY` in your `.env` file. It should be the json file name without extension.
43
+
5. Modify the value of `infra/docker-compose/serving/bq-store.yml`. Alternatively, you can also point to a different store configuration file by modifying `FEAST_BATCH_STORE_CONFIG` in your `.env` file.
44
+
5.`docker-compose -f docker-compose.yml -f docker-compose.batch.yml up -d`
45
+
6. A jupyter notebook server should be accessible via `localhost:8888`
46
+
7. Please wait a minute or two for the Feast services to be ready before running the notebook. You will know that the services are ready when port `6565` and `6567` starts listening.
47
+
8. When you are done, run `docker-compose -f docker-compose.yml -f docker-compose.batch.yml down` to shutdown the services.
0 commit comments