Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jun 6, 2017
1 parent f411172 commit 97a2808
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/gitbook/docker-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ How to launch the IM service using docker::
```sh
$ sudo docker run -d -p 8899:8899 -p 8800:8800 --name im indigodatacloud/im
```

To make the IM data persistent you also have to specify a persistent location for the IM database using the IM_DATA_DB environment variable and adding a volume::

```sh
$ sudo docker run -d -p 8899:8899 -p 8800:8800 -v "/some_local_path/db:/db" -e IM_DATA_DB=/db/inf.dat --name im indigodatacloud/im
```

You can also specify an external MySQL server to store IM data using the IM_DATA_DB environment variable::

```sh
Expand Down

0 comments on commit 97a2808

Please sign in to comment.