bazzar/docker-compose.yml
2024-08-03 05:48:14 +02:00

110 lines
2.4 KiB
YAML

version: '3'
services:
rumqqtd:
image: bytebeamio/rumqttd
restart: no
ports:
- 1883:1883
- 1884:1884
rauthy-nginx:
image: nginx:latest
restart: no
ports:
- 80:80
volumes:
- ./config/rauth.nginx:/etc/nginx/conf.d/rauth.conf:ro
depends_on:
- rauthy
rauthy-psql:
image: postgres:latest
environment:
POSTGRES_PASSWORD: 123SuperSafe
POSTGRES_USER: rauthy
POSTGRES_DB: rauthy
ports:
- 6677:5432
volumes:
- rauthy-psql:/var/lib/postgresql/data
rauthy:
image: ghcr.io/sebadob/rauthy:0.24.1
depends_on:
- rauthy-psql
- mailcrab
ports:
- 8302:8302
- 8301:8301
- 9090:9090
environment:
- COOKIE_MODE=danger-insecure
- SWAGGER_UI_EXTERNAL=true
- RUSY_LOG=actix_http::h1::dispatcher=error,actix_server::signals=error,trace
- DATABASE_URL=postgresql://rauthy:123SuperSafe@rauthy-psql:5432/rauthy
- LISTEN_PORT_HTTP=8301
- SMTP_URL=mailcrab
- SMTP_USERNAME=""
- SMTP_PASSWORD=""
- SMTP_DANGER_INSECURE=true
- SMTP_DANGER_INSECURE_PORT=1025
- METRICS_ENABLE=true
- METRICS_ADDR=0.0.0.0
- METRICS_PORT=9090
- SWAGGER_UI_INTERNAL=true
- SWAGGER_UI_EXTERNAL=true
volumes:
- rauthy:/app/data
- ./config/rauthy.cfg:/app/rauthy.cfg
quickwit:
image: quickwit/quickwit:v0.5.2
command: run
restart: no
environment:
QW_ENABLE_OTLP_ENDPOINT: true
QW_ENABLE_JAEGER_ENDPOINT: true
# ports:
# - '7280:7280'
# - '7281:7281'
# volumes:
# - ./qwdata:/quickwit/qwdata
jaeger:
image: jaegertracing/jaeger-query:1.45
restart: no
depends_on:
- quickwit
environment:
SPAN_STORAGE_TYPE: 'grpc-plugin'
GRPC_STORAGE_SERVER: 'quickwit:7281'
# ports:
# - '16686:16686'
grafana:
image: grafana/grafana-enterprise:10.0.0
restart: no
depends_on:
- quickwit
environment:
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS: 'quickwit-quickwit-datasource'
ports:
- '3000:3000'
volumes:
- ./grafana/plugins:/var/lib/grafana/plugins
mailcrab:
image: 'marlonb/mailcrab:latest'
restart: no
environment:
- ENABLE_TLS_AUTH=false
- RUST_LOG=debug
ports:
- 1125:1025
- 1180:1080
volumes:
kanidmd:
rauthy:
rauthy-psql: