mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 07:33:21 +00:00
update README
This commit is contained in:
parent
6340c2eacd
commit
fa06667f84
3 changed files with 4 additions and 15 deletions
|
@ -6,26 +6,15 @@ This is a demo [Docker Compose](https://docs.docker.com/compose/) setup for [Res
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
Build `rest-server` in Docker:
|
Bring up the Docker Compose stack (Optionally add `--build` to build image from repository instead of downloading):
|
||||||
|
|
||||||
cd ../..
|
docker compose up -d
|
||||||
make docker_build
|
|
||||||
cd -
|
|
||||||
|
|
||||||
Bring up the Docker Compose stack:
|
|
||||||
|
|
||||||
docker-compose build
|
|
||||||
docker-compose up -d
|
|
||||||
|
|
||||||
Check if everything is up and running:
|
Check if everything is up and running:
|
||||||
|
|
||||||
docker-compose ps
|
docker compose ps
|
||||||
|
|
||||||
Grafana will be running on [http://localhost:8030/](http://localhost:8030/) with username "admin" and password "admin". The first time you access it you will be asked to setup a data source. Configure it like this (make sure you name it "prometheus", as this is hardcoded in the example dashboard):
|
Grafana will be running on [http://localhost:8030/](http://localhost:8030/) with username "admin" and password "admin". When you login, you should be greeted by the dashboard, without any data.
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
The Rest Server dashboard can be accessed on [http://localhost:8030/dashboard/file/rest-server.json](http://localhost:8030/dashboard/file/rest-server.json).
|
|
||||||
|
|
||||||
Prometheus can be accessed on [http://localhost:8020/](http://localhost:8020/).
|
Prometheus can be accessed on [http://localhost:8020/](http://localhost:8020/).
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 48 KiB |
Binary file not shown.
Before Width: | Height: | Size: 170 KiB |
Loading…
Add table
Add a link
Reference in a new issue