mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
3f7d9e3ad6
Reasons: - Riak DB development is almost halted after Basho - riak-erlang-client is abandoned and doesn't work correctly with OTP22 - Riak is slow in comparison to other databases - Missing key ordering makes it impossible to implement range queries efficiently (e.g. MAM queries)
38 lines
926 B
YAML
38 lines
926 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
mysql:
|
|
image: mysql:latest
|
|
container_name: ejabberd-mysql
|
|
volumes:
|
|
- ./db/mysql/data:/var/lib/mysql
|
|
- ./db/mysql/initdb:/docker-entrypoint-initdb.d:ro
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
restart: always
|
|
ports:
|
|
- 3306:3306
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: root
|
|
MYSQL_DATABASE: ejabberd_test
|
|
MYSQL_USER: ejabberd_test
|
|
MYSQL_PASSWORD: ejabberd_test
|
|
|
|
postgres:
|
|
image: postgres:latest
|
|
container_name: ejabberd-postgres
|
|
volumes:
|
|
- ./db/postgres/data:/var/lib/postgresql/data
|
|
- ./db/postgres/initdb:/docker-entrypoint-initdb.d:ro
|
|
ports:
|
|
- 5432:5432
|
|
environment:
|
|
POSTGRES_PASSWORD: ejabberd_test
|
|
POSTGRES_USER: ejabberd_test
|
|
POSTGRES_DB: ejabberd_test
|
|
|
|
redis:
|
|
image: redis:latest
|
|
container_name: ejabberd-redis
|
|
ports:
|
|
- 6379:6379
|