Docker: Dockerfile + .dockerignore + push to dockerhub: dergeorg/ntopngglobe

This commit is contained in:
2022-02-01 23:35:16 +01:00
parent 6a6b9844a9
commit d5c26d6198
6 changed files with 105 additions and 43 deletions

View File

@@ -17,6 +17,17 @@ npm install
npm start
```
### Docker
#### Run with config file
```sh
docker run -p 3100:3100 -p 8999:8999 --name ntopngglobe -v /PATH/TO/CONF/FOLDER:/usr/src/app/public/conf -d dergeorg/ntopngglobe
```
#### Run without config file (default config)
```sh
docker run -p 3100:3100 -p 8999:8999 --name ntopngglobe -d dergeorg/ntopngglobe
```
### Usage
> :notebook: **Open in browser**: ```http://<ADRESS>:3100```