feat: init
This commit is contained in:
0
services/.gitignore
vendored
Normal file
0
services/.gitignore
vendored
Normal file
67
services/docker-compose.yml
Normal file
67
services/docker-compose.yml
Normal file
@ -0,0 +1,67 @@
|
||||
services:
|
||||
mailpit:
|
||||
profiles:
|
||||
- mail
|
||||
image: axllent/mailpit
|
||||
ports:
|
||||
- 1025:1025
|
||||
environment:
|
||||
MP_UI_BIND_ADDR: "0.0.0.0:8085"
|
||||
labels:
|
||||
serviceName: mail
|
||||
traefik.http.services.mail.loadbalancer.server.port: 8085
|
||||
|
||||
datasette:
|
||||
ports:
|
||||
- 8001:8001
|
||||
volumes:
|
||||
- datasette:/mnt
|
||||
image: datasetteproject/datasette
|
||||
command: datasette -p 8001 -h 0.0.0.0 --plugins-dir=/mnt/plugins/ --config default_page_size:500 /mnt/data/qs-monitor-usage.db
|
||||
profiles:
|
||||
- data
|
||||
labels:
|
||||
serviceName: data
|
||||
traefik.http.services.data.loadbalancer.server.port: 8001
|
||||
|
||||
silverbullet:
|
||||
profiles:
|
||||
- notes
|
||||
image: ghcr.io/silverbulletmd/silverbullet:v2
|
||||
volumes:
|
||||
- ~/Notes:/space
|
||||
labels:
|
||||
serviceName: notes
|
||||
|
||||
db:
|
||||
profiles:
|
||||
- db
|
||||
build: docker
|
||||
image: dbgate/dbgate:beta-alpine
|
||||
labels:
|
||||
serviceName: db
|
||||
volumes:
|
||||
- dbgate:/root/.dbgate
|
||||
|
||||
grafana:
|
||||
profiles:
|
||||
- logs
|
||||
image: grafana/grafana:11.2.0
|
||||
environment:
|
||||
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
|
||||
- GF_AUTH_ANONYMOUS_ENABLED=true
|
||||
- GF_AUTH_BASIC_ENABLED=false
|
||||
- GF_FEATURE_TOGGLES_ENABLE=accessControlOnCall lokiLogsDataplane exploreLogsShardSplitting
|
||||
- GF_PLUGINS_PREINSTALL_DISABLED=true
|
||||
- GF_INSTALL_PLUGINS=https://storage.googleapis.com/integration-artifacts/grafana-lokiexplore-app/grafana-lokiexplore-app-latest.zip;grafana-lokiexplore-app
|
||||
labels:
|
||||
serviceName: grafana
|
||||
volumes:
|
||||
- ./provisioning/grafana:/etc/grafana/provisioning
|
||||
extra_hosts:
|
||||
- 'host.docker.internal:host-gateway'
|
||||
|
||||
|
||||
volumes:
|
||||
dbgate: ~
|
||||
datasette: ~
|
8
services/provisioning/grafana/datasources/default.yaml
Normal file
8
services/provisioning/grafana/datasources/default.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: gdev-loki
|
||||
type: loki
|
||||
uid: gdev-loki
|
||||
access: proxy
|
||||
url: http://host.docker.internal:3100
|
12
services/provisioning/grafana/plugins/app.yaml
Normal file
12
services/provisioning/grafana/plugins/app.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: 1
|
||||
|
||||
apps:
|
||||
- type: "grafana-lokiexplore-app"
|
||||
org_id: 1
|
||||
org_name: "Grafana"
|
||||
disabled: false
|
||||
jsonData:
|
||||
apiUrl: http://default-url.com
|
||||
isApiKeySet: true
|
||||
secureJsonData:
|
||||
apiKey: secret-key
|
Reference in New Issue
Block a user