mod: dendrite addition
This commit is contained in:
parent
1175044103
commit
342b67ba5f
3 changed files with 39 additions and 0 deletions
|
@ -30,6 +30,8 @@ scrape_configs:
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['docker.host:9100']
|
- targets: ['docker.host:9100']
|
||||||
|
|
||||||
|
# - job_name: dendrite
|
||||||
|
|
||||||
- job_name: 'blackbox'
|
- job_name: 'blackbox'
|
||||||
metrics_path: /probe
|
metrics_path: /probe
|
||||||
params:
|
params:
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
version: '2.2'
|
version: '2.2'
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
internal:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
|
|
@ -84,6 +84,42 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
|
|
||||||
|
dendrite:
|
||||||
|
image: matrixdotorg/dentrite-monolith:latest
|
||||||
|
ports:
|
||||||
|
- 8008:8008
|
||||||
|
- 8448:8448
|
||||||
|
environment:
|
||||||
|
- SYNAPSE_CONFIG_DIR=/config
|
||||||
|
command: [
|
||||||
|
"--tls-cert=server.crt",
|
||||||
|
"--tls-key=server.pem"
|
||||||
|
]
|
||||||
|
volumes:
|
||||||
|
- /srv/dentrite/config:/etc/dentrite
|
||||||
|
- /srv/dentrite/data:/var/dentrite/media
|
||||||
|
depends_on:
|
||||||
|
- dendrite-pg
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
|
||||||
|
|
||||||
|
dendrite-pg:
|
||||||
|
image: postgres:14
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER=dendrite
|
||||||
|
- POSTGRES_PASSWORD=dendrite
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U dendrite"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
volumes:
|
||||||
|
- /srv/dentrite/other/database:/var/lib/postgresql/data
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana-oss:latest
|
image: grafana/grafana-oss:latest
|
||||||
environment:
|
environment:
|
||||||
|
|
Reference in a new issue