2019-05-07 17:59:05 +02:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
mysql:
|
|
|
|
image: mysql:latest
|
|
|
|
container_name: ejabberd-mysql
|
|
|
|
volumes:
|
2020-09-25 19:13:35 +02:00
|
|
|
- mysqldata:/var/lib/mysql
|
|
|
|
- ../../sql/mysql.sql:/docker-entrypoint-initdb.d/mysql.sql:ro
|
2019-05-07 17:59:05 +02:00
|
|
|
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
|
|
|
|
|
2020-04-28 16:22:42 +02:00
|
|
|
mssql:
|
|
|
|
image: mcr.microsoft.com/mssql/server
|
|
|
|
container_name: ejabberd-mssql
|
|
|
|
volumes:
|
|
|
|
- mssqldata:/var/opt/mssql
|
2020-09-25 19:13:35 +02:00
|
|
|
- ./db/mssql/initdb/initdb_mssql.sql:/initdb_mssql.sql:ro
|
|
|
|
- ../../sql/mssql.sql:/mssql.sql:ro
|
2023-01-19 14:05:30 +01:00
|
|
|
- ../../sql/mssql.new.sql:/mssql.new.sql:ro
|
2020-04-28 16:22:42 +02:00
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 1433:1433
|
|
|
|
environment:
|
|
|
|
ACCEPT_EULA: Y
|
|
|
|
SA_PASSWORD: ejabberd_Test1
|
|
|
|
|
2019-05-07 17:59:05 +02:00
|
|
|
postgres:
|
|
|
|
image: postgres:latest
|
|
|
|
container_name: ejabberd-postgres
|
|
|
|
volumes:
|
2020-09-25 19:13:35 +02:00
|
|
|
- pgsqldata:/var/lib/postgresql/data
|
|
|
|
- ../../sql/pg.sql:/docker-entrypoint-initdb.d/pg.sql:ro
|
2019-05-07 17:59:05 +02:00
|
|
|
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
|
2020-04-28 16:22:42 +02:00
|
|
|
|
|
|
|
volumes:
|
2020-09-25 19:13:35 +02:00
|
|
|
mysqldata:
|
|
|
|
name: ejabberd-mysqldata
|
2020-04-28 16:22:42 +02:00
|
|
|
mssqldata:
|
2020-09-25 19:13:35 +02:00
|
|
|
name: ejabberd-mssqldata
|
|
|
|
pgsqldata:
|
|
|
|
name: ejabberd-pgsqldata
|