oc-schedulerd/docker-compose.tools.yml

53 lines
1.8 KiB
YAML
Raw Normal View History

2024-08-20 09:23:05 +02:00
version: '3.4'
services:
nats:
image: 'nats:latest'
container_name: nats
ports:
- 4222:4222
command:
- "--debug"
networks:
- catalog
loki:
image: 'grafana/loki'
container_name: loki
2025-02-21 11:24:56 +01:00
labels:
- "traefik.enable=true"
- "traefik.http.routers.loki.entrypoints=web"
- "traefik.http.routers.loki.rule=PathPrefix(`/tools/loki`)"
- "traefik.http.services.loki.loadbalancer.server.port=3100"
- "traefik.http.middlewares.loki-stripprefix.stripprefix.prefixes=/tools/loki"
- "traefik.http.routers.loki.middlewares=loki-stripprefix"
- "traefik.http.middlewares.loki.forwardauth.address=http://oc-auth:8080/oc/forward"
2024-08-20 09:23:05 +02:00
ports :
- "3100:3100"
networks:
2024-11-14 09:26:52 +01:00
- catalog
2024-08-20 09:23:05 +02:00
grafana:
image: 'grafana/grafana'
container_name: grafana
ports:
- '3000:3000'
2025-02-21 11:24:56 +01:00
labels:
- "traefik.enable=true"
- "traefik.http.routers.grafana.entrypoints=web"
- "traefik.http.routers.grafana.rule=PathPrefix(`/tools/grafana`)"
- "traefik.http.services.grafana.loadbalancer.server.port=3000"
- "traefik.http.middlewares.grafana-stripprefix.stripprefix.prefixes=/tools/grafana"
- "traefik.http.routers.grafana.middlewares=grafana-stripprefix"
- "traefik.http.middlewares.grafana.forwardauth.address=http://oc-auth:8080/oc/forward"
2024-08-20 09:23:05 +02:00
networks:
2024-11-14 09:31:22 +01:00
- catalog
2024-08-20 09:23:05 +02:00
volumes:
- ./conf/grafana_data_source.yml:/etc/grafana/provisioning/datasources/datasource.yml
environment:
- GF_SECURITY_ADMIN_PASSWORD=pfnirt # Change this to anything but admin to not have a password change page at startup
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_DISABLE_INITIAL_ADMIN_PASSWORD_CHANGE=true
2024-08-20 09:23:05 +02:00
networks:
catalog:
2024-09-27 10:10:00 +02:00
external: true