mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-29 17:51:56 -06:00
67784ecb56
* Remove old Docker stuff * Move hub stuff to upper level docker directory * Build monolith images * Update README.md * Update paths * Update README.md
37 lines
748 B
YAML
37 lines
748 B
YAML
version: "3.4"
|
|
services:
|
|
postgres:
|
|
hostname: postgres
|
|
image: postgres:9.5
|
|
restart: always
|
|
volumes:
|
|
- ./postgres/create_db.sh:/docker-entrypoint-initdb.d/20-create_db.sh
|
|
environment:
|
|
POSTGRES_PASSWORD: itsasecret
|
|
POSTGRES_USER: dendrite
|
|
networks:
|
|
- internal
|
|
|
|
zookeeper:
|
|
hostname: zookeeper
|
|
image: zookeeper
|
|
networks:
|
|
- internal
|
|
|
|
kafka:
|
|
container_name: dendrite_kafka
|
|
hostname: kafka
|
|
image: wurstmeister/kafka
|
|
environment:
|
|
KAFKA_ADVERTISED_HOST_NAME: "kafka"
|
|
KAFKA_DELETE_TOPIC_ENABLE: "true"
|
|
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
|
|
depends_on:
|
|
- zookeeper
|
|
networks:
|
|
- internal
|
|
|
|
networks:
|
|
internal:
|
|
attachable: true
|