Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add-lm-by-docker-compose #2104

Merged
merged 1 commit into from
May 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
site/
*.DS_Store
*.diff

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Using Docker Compose can quickly deploy NebulaGraph services based on the prepar

## Deploy NebulaGraph


1. Clone the `{{dockercompose.release}}` branch of the `nebula-docker-compose` repository to your host with Git.

!!! danger
Expand All @@ -34,13 +35,47 @@ Using Docker Compose can quickly deploy NebulaGraph services based on the prepar

The `x.y` version of Docker Compose aligns to the `x.y` version of NebulaGraph. For the NebulaGraph `z` version, Docker Compose does not publish the corresponding `z` version, but pulls the `z` version of the NebulaGraph image.

!!! note
For installation of the NebulaGraph enterprise version, [contact us](https://www.nebula-graph.io/contact).

2. Go to the `nebula-docker-compose` directory.

```bash
$ cd nebula-docker-compose/
```

3. Run the following command to start all the NebulaGraph services.
{{ ent.ent_begin }}

3. Configure License Manager address (skip this step if you are using the community version).

1. Edit the `docker-compose.yml` file.

```bash
$ cd nebula-docker-compose/
$ vim docker-compose.yml
```

2. Add the `license_manager_url` field under all `services.metad{number}.command` and set its value to the access address of LM.

```yaml
...
services:
metad0:
command:
- --license_manager_url=<LM_ADDR>:<LM_PORT> // <LM_ADDR> is the address of the LM service, and <LM_PORT> is the port of the LM service, which is 9119 by default.
metad1:
command:
- --license_manager_url=<LM_ADDR>:<LM_PORT>
...
```

3. Save and exit.


{{ ent.ent_end }}


4. Run the following command to start all the NebulaGraph services.


!!! Note
Expand Down