Skip to content

Commit

Permalink
add-lm-by-docker-compose (#2104)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber authored May 26, 2023
1 parent afbc08f commit ff3dfc0
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
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

0 comments on commit ff3dfc0

Please sign in to comment.