Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added correction related to issue ytti#445 and docker-compose file example
  • Loading branch information
frederic-loui authored Oct 12, 2016
1 parent d6a6d89 commit cdcc4de
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit cdcc4de

Please sign in to comment.