Skip to content

Commit

Permalink
docs: Document how to use docker setup and keep statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Jun 16, 2023
1 parent 9c18284 commit 9e2baf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.idea
.vscode/
statistics.json
pixelflut/
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ This command will start the Pixelflut server in a docker container
docker run --rm --init -t -p 1234:1234 -p 5900:5900 -p 9100:9100 sbernauer/breakwater # --help
```

If you want to permanently save statistics (to keep them between restarts) you can use the following command:
```bash
mkdir -p pixelflut && docker run --rm -u 1000:1000 --init -t -p 1234:1234 -p 5900:5900 -p 9100:9100 -v "$(pwd)/pixelflut:/pixelflut" foo:bar --statistics-save-file /pixelflut/statistics.json
```

# Ready to use Docker compose setup
The ready to use Docker compose setup contains the Pixelflut server, a prometheus server and a Grafana for monitoring.
Use the following command to start the whole setup
Expand Down

0 comments on commit 9e2baf4

Please sign in to comment.