diff --git a/.travis.yml b/.travis.yml index aad8a55..ef4bcd9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/tests/mariadb.yml b/tests/mariadb.yml new file mode 100644 index 0000000..c243fb2 --- /dev/null +++ b/tests/mariadb.yml @@ -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: