Mailhog hasn’t been updated since August 2022. While the SMTP protocol remains stable, the underlying libraries and dependencies may have evolved. Using an actively maintained tool can help avoid potential security or compatibility issues in the future. Let me know if you have any questions or need further adjustments! Signed-off-by: Benoit Garcia <benoit.garcia@protonmail.com>
112 lines
2.9 KiB
YAML
112 lines
2.9 KiB
YAML
services:
|
|
postgres:
|
|
image: "postgres:17.4"
|
|
shm_size: "1g"
|
|
command: >
|
|
postgres -c "shared_buffers=4GB"
|
|
-c "max_connections=200"
|
|
-c "log_statement=all"
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- "./compose/postgres:/docker-entrypoint-initdb.d:ro"
|
|
- "postgres-data:/var/lib/postgresql/data:rw"
|
|
environment:
|
|
POSTGRES_USER: "postgres"
|
|
POSTGRES_PASSWORD: "postgres"
|
|
|
|
minio:
|
|
image: "quay.io/minio/minio"
|
|
entrypoint: "sh"
|
|
command: |
|
|
-c 'mkdir -p /var/lib/minio/probod && minio server --json --console-address :9001 /var/lib/minio'
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
volumes:
|
|
- "minio-data:/var/lib/minio:rw"
|
|
environment:
|
|
MINIO_ROOT_USER: "probod"
|
|
MINIO_ROOT_PASSWORD: "thisisnotasecret"
|
|
|
|
grafana:
|
|
image: "grafana/grafana:latest"
|
|
ports:
|
|
- "3001:3000"
|
|
volumes:
|
|
- "./compose/grafana/provisioning:/etc/grafana/provisioning:ro"
|
|
- "grafana-data:/var/lib/grafana:rw"
|
|
environment:
|
|
GF_AUTH_ANONYMOUS_ENABLED: "true"
|
|
GF_AUTH_ANONYMOUS_ORG_ROLE: "Admin"
|
|
GF_AUTH_DISABLE_LOGIN_FORM: "true"
|
|
GF_USERS_DEFAULT_THEME: "light"
|
|
|
|
prometheus:
|
|
image: "prom/prometheus:latest"
|
|
volumes:
|
|
- "./compose/prometheus/prometheus.yaml:/etc/prometheus/prometheus.yml"
|
|
- "prometheus-data:/prometheus"
|
|
command:
|
|
- "--config.file=/etc/prometheus/prometheus.yml"
|
|
- "--storage.tsdb.path=/prometheus"
|
|
- "--web.console.libraries=/etc/prometheus/console_libraries"
|
|
- "--web.console.templates=/etc/prometheus/consoles"
|
|
- "--web.enable-lifecycle"
|
|
- "--web.enable-remote-write-receiver"
|
|
- "--web.listen-address=:9191"
|
|
ports:
|
|
- "9191:9191"
|
|
|
|
loki:
|
|
image: "grafana/loki:latest"
|
|
ports:
|
|
- "3100:3100"
|
|
command:
|
|
- "-config.file=/etc/loki/local-config.yaml"
|
|
|
|
tempo:
|
|
image: "grafana/tempo:latest"
|
|
command:
|
|
- "-config.file=/etc/tempo.yaml"
|
|
ports:
|
|
- "4317:4317"
|
|
volumes:
|
|
- "./compose/tempo/tempo.yaml:/etc/tempo.yaml:ro"
|
|
- "tempo-data:/var/tempo:rw"
|
|
|
|
mailpit:
|
|
image: "axllent/mailpit:latest"
|
|
ports:
|
|
- "1025:1025" # SMTP server
|
|
- "8025:8025" # Web UI
|
|
environment:
|
|
- "MP_DISABLE_VERSION_CHECK=true"
|
|
- "MP_VERBOSE=false"
|
|
- "MP_SMTP_AUTH_ACCEPT_ANY=true"
|
|
- "MP_ENABLE_PROMETHEUS=true"
|
|
- "MP_SMTP_AUTH_ALLOW_INSECURE=true"
|
|
|
|
chrome:
|
|
image: "chromedp/headless-shell:140.0.7259.2"
|
|
ports:
|
|
- "9222:9222"
|
|
command:
|
|
- "--headless"
|
|
- "--disable-gpu"
|
|
- "--disable-dev-shm-usage"
|
|
- "--hide-scrollbars"
|
|
- "--mute-audio"
|
|
- "--no-default-browser-check"
|
|
- "--no-first-run"
|
|
- "--disable-background-networking"
|
|
- "--disable-background-timer-throttling"
|
|
- "--disable-extensions"
|
|
|
|
volumes:
|
|
postgres-data:
|
|
minio-data:
|
|
grafana-data:
|
|
prometheus-data:
|
|
tempo-data:
|