Add mariadb test
This commit is contained in:
parent
e361537d32
commit
37c058d281
2 changed files with 41 additions and 0 deletions
|
@ -28,6 +28,12 @@ env:
|
|||
DB_HOST: onlyoffice-mysql
|
||||
DB_PORT: 3306
|
||||
|
||||
# mariadb
|
||||
- config: mariadb.yml
|
||||
DB_TYPE: mysql
|
||||
DB_HOST: db
|
||||
DB_PORT: 3306
|
||||
|
||||
# activemq
|
||||
- config: activemq.yml
|
||||
AMQP_TYPE: activemq
|
||||
|
|
35
tests/mariadb.yml
Normal file
35
tests/mariadb.yml
Normal file
|
@ -0,0 +1,35 @@
|
|||
version: '2'
|
||||
services:
|
||||
ds:
|
||||
container_name: ds
|
||||
image: onlyoffice/4testing-documentserver-ie:latest
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
- DB_TYPE
|
||||
- DB_HOST
|
||||
- DB_PORT
|
||||
- DB_NAME
|
||||
- DB_USER
|
||||
- DB_PWD
|
||||
stdin_open: true
|
||||
restart: always
|
||||
ports:
|
||||
- '80:80'
|
||||
|
||||
db:
|
||||
container_name: db
|
||||
image: mariadb:10.5
|
||||
environment:
|
||||
- MYSQL_DATABASE
|
||||
- MYSQL_USER
|
||||
- MYSQL_PASSWORD
|
||||
- MYSQL_ALLOW_EMPTY_PASSWORD
|
||||
restart: always
|
||||
volumes:
|
||||
- mysql_data:/var/lib/mysql
|
||||
expose:
|
||||
- '3306'
|
||||
|
||||
volumes:
|
||||
mysql_data:
|
Loading…
Reference in a new issue