summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-10-12 09:18:25 -0700
committerGitHub <noreply@github.com>2016-10-12 09:18:25 -0700
commit201b68d21db00a742bde36aa89315511c982d49e (patch)
treec97a47e6998b50532e430f2eab883553ffa20f92 /README.md
parentd6a6d896ae7f07489eb1e038edd4e6fdfca8478e (diff)
parentcdcc4de05c33504c1542d78363fb75b78d3fc45d (diff)
Merge pull request #585 from frederic-loui/patch-1
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 166cce8..c348573 100644
--- a/README.md
+++ b/README.md
@@ -288,6 +288,24 @@ _Note: this step in only needed for creating Oxidized's configuration file and c
```
docker run --rm -v /etc/oxidized:/root/.config/oxidized -p 8888:8888/tcp -t oxidized/oxidized:latest oxidized
```
+If the RESTful API and Web Interface are enabled, on the docker host running the container
+edit /etc/oxidized/config and modify 'rest: 127.0.0.1:8888' by 'rest: 0.0.0.0:8888'
+this will bind port 8888 to all interfaces then expose port out. (Issue #445)
+
+You can also use docker-compose to launch oxidized container:
+```
+# docker-compose.yml
+# docker-compose file example for oxidized that will start along with docker daemon
+oxidized:
+ restart: always
+ image: oxidized/oxidized:latest
+ ports:
+ - 8888:8888/tcp
+ environment:
+ CONFIG_RELOAD_INTERVAL: 600
+ volumes:
+ - /etc/oxidized:/root/.config/oxidized
+```
create the `/etc/oxidized/router.db`