mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-23 10:45:26 -04:00
Wire Microsoft's local Azure Blob Storage emulator into the dev/CI docker-compose stack so an upcoming Azure FileBackend driver and its tests have a target to run against, without requiring an Azure account. * Define the azurite service in docker-compose.common.yml (used by both the local-dev and CI compose files). * Add azurite to the makefile + main docker-compose.yml service maps, and to docker-compose-generator so callers can include it via ENABLED_DOCKER_SERVICES. * Auto-include azurite in `make start-docker` (mirrors how minio is auto-included today), so existing local workflows keep working without any per-developer config change. * Add azurite to the CI start_dependencies wait set so CI brings it up alongside postgres/minio. * Set CI_AZURITE_HOST / CI_AZURITE_PORT in dotenv/test.env, mirroring the CI_MINIO_* pattern. No production filestore changes — this PR is mergeable in isolation with no user-visible behavior. ------ AI assisted commit
128 lines
2.8 KiB
YAML
128 lines
2.8 KiB
YAML
services:
|
|
postgres:
|
|
restart: 'no'
|
|
container_name: mattermost-postgres
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- "postgres-14-data:/var/lib/postgresql/data"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: postgres
|
|
minio:
|
|
restart: 'no'
|
|
container_name: mattermost-minio
|
|
ports:
|
|
- "9000:9000"
|
|
- "9002:9002"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: minio
|
|
azurite:
|
|
restart: 'no'
|
|
container_name: mattermost-azurite
|
|
ports:
|
|
- "10000:10000"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: azurite
|
|
inbucket:
|
|
restart: 'no'
|
|
container_name: mattermost-inbucket
|
|
ports:
|
|
- "9001:9001"
|
|
- "10025:10025"
|
|
- "10110:10110"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: inbucket
|
|
openldap:
|
|
restart: 'no'
|
|
container_name: mattermost-openldap
|
|
ports:
|
|
- "389:389"
|
|
- "636:636"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: openldap
|
|
elasticsearch:
|
|
restart: 'no'
|
|
container_name: mattermost-elasticsearch
|
|
ports:
|
|
- "9200:9200"
|
|
- "9300:9300"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: elasticsearch
|
|
opensearch:
|
|
container_name: mattermost-opensearch
|
|
ports:
|
|
- "9201:9201"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: opensearch
|
|
redis:
|
|
container_name: mattermost-redis
|
|
ports:
|
|
- "6379:6379"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: redis
|
|
dejavu:
|
|
restart: 'no'
|
|
container_name: mattermost-dejavu
|
|
ports:
|
|
- "1358:1358"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: dejavu
|
|
keycloak:
|
|
restart: 'no'
|
|
container_name: mattermost-saml
|
|
ports:
|
|
- "8484:8080"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: keycloak
|
|
prometheus:
|
|
restart: 'no'
|
|
container_name: mattermost-prometheus
|
|
ports:
|
|
- "9090:9090"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: prometheus
|
|
grafana:
|
|
restart: 'no'
|
|
container_name: mattermost-grafana
|
|
ports:
|
|
- "3000:3000"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: grafana
|
|
loki:
|
|
container_name: mattermost-loki
|
|
ports:
|
|
- "3100:3100"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: loki
|
|
otel-collector:
|
|
container_name: mattermost-otel-collector
|
|
ports:
|
|
- "13133:13133"
|
|
extends:
|
|
file: build/docker-compose.common.yml
|
|
service: otel-collector
|
|
|
|
networks:
|
|
mm-test:
|
|
driver: bridge
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 192.168.254.0/24
|
|
ip_range: 192.168.254.0/24
|
|
|
|
volumes:
|
|
postgres-14-data:
|