move files around

This commit is contained in:
iTrooz 2025-09-13 17:05:42 +02:00
parent 2f31e10ceb
commit 7f627aee17
No known key found for this signature in database
GPG key ID: 8B83F77667B1BC6A
5 changed files with 24 additions and 3 deletions

View file

@ -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:

View file

@ -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

View file

@ -0,0 +1,8 @@
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
isDefault: true