mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 15:43:21 +00:00
move files around
This commit is contained in:
parent
2f31e10ceb
commit
7f627aee17
5 changed files with 24 additions and 3 deletions
|
@ -3,8 +3,9 @@ version: '2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
restserver:
|
restserver:
|
||||||
# NOTE: You must run `make docker_build` in the repo root first
|
# NOTE: Use `docker compose up --build -d` to build the image locally
|
||||||
# If you want to run this in production, you want auth and tls!
|
# If you want to run this in production, you want auth and tls!
|
||||||
|
image: restic/rest-server:latest
|
||||||
build:
|
build:
|
||||||
context: ../..
|
context: ../..
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
@ -34,8 +35,7 @@ services:
|
||||||
image: grafana/grafana
|
image: grafana/grafana
|
||||||
volumes:
|
volumes:
|
||||||
- grafanadata:/var/lib/grafana
|
- grafanadata:/var/lib/grafana
|
||||||
- ./dashboards:/dashboards
|
- ./grafana:/etc/grafana
|
||||||
- ./grafana.ini:/etc/grafana/grafana.ini
|
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8030:3000"
|
- "127.0.0.1:8030:3000"
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
apiVersion: 1
|
||||||
|
|
||||||
|
providers:
|
||||||
|
- name: 'default'
|
||||||
|
orgId: 1
|
||||||
|
folder: ''
|
||||||
|
type: file
|
||||||
|
disableDeletion: false
|
||||||
|
editable: true
|
||||||
|
allowUiUpdates: true
|
||||||
|
options:
|
||||||
|
# Path to dashboard files on disk
|
||||||
|
path: /etc/grafana/dashboards
|
|
@ -0,0 +1,8 @@
|
||||||
|
apiVersion: 1
|
||||||
|
|
||||||
|
datasources:
|
||||||
|
- name: Prometheus
|
||||||
|
type: prometheus
|
||||||
|
access: proxy
|
||||||
|
url: http://prometheus:9090
|
||||||
|
isDefault: true
|
Loading…
Add table
Add a link
Reference in a new issue