2019-10-29 12:42:43 +03:00
|
|
|
language: generic
|
|
|
|
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
env:
|
|
|
|
# postgresql
|
|
|
|
- config: postgres.yml
|
|
|
|
|
|
|
|
# custom values
|
|
|
|
- config: postgres.yml
|
|
|
|
DB_NAME: mydb
|
|
|
|
DB_USER: myuser
|
|
|
|
DB_PWD: password
|
|
|
|
POSTGRES_DB: mydb
|
|
|
|
POSTGRES_USER: myuser
|
|
|
|
|
|
|
|
# deprecated variables
|
|
|
|
- config: postgres-old.yml
|
|
|
|
POSTGRESQL_SERVER_HOST: onlyoffice-postgresql
|
|
|
|
POSTGRESQL_SERVER_PORT: 5432
|
|
|
|
POSTGRESQL_SERVER_DB_NAME: onlyoffice
|
|
|
|
POSTGRESQL_SERVER_USER: onlyoffice
|
|
|
|
POSTGRESQL_SERVER_PASS: onlyoffice
|
|
|
|
|
|
|
|
# mysql
|
|
|
|
- config: mysql.yml
|
|
|
|
DB_TYPE: mysql
|
|
|
|
DB_HOST: onlyoffice-mysql
|
|
|
|
DB_PORT: 3306
|
|
|
|
|
2020-03-16 16:20:36 +03:00
|
|
|
# mariadb
|
|
|
|
- config: mariadb.yml
|
|
|
|
DB_TYPE: mysql
|
|
|
|
DB_HOST: db
|
|
|
|
DB_PORT: 3306
|
|
|
|
|
2019-10-29 12:42:43 +03:00
|
|
|
# activemq
|
|
|
|
- config: activemq.yml
|
2019-12-23 12:27:47 +03:00
|
|
|
AMQP_TYPE: activemq
|
|
|
|
AMQP_URI: amqp://guest:guest@onlyoffice-activemq
|
|
|
|
|
|
|
|
# rabbitmq
|
|
|
|
- config: rabbitmq.yml
|
|
|
|
AMQP_TYPE: rabbitmq
|
|
|
|
AMQP_URI: amqp://guest:guest@onlyoffice-rabbitmq
|
|
|
|
|
|
|
|
# rabbitmq old variables
|
|
|
|
- config: rabbitmq-old.yml
|
|
|
|
AMQP_SERVER_TYPE: rabbitmq
|
|
|
|
AMQP_SERVER_URL: amqp://guest:guest@onlyoffice-rabbitmq
|
2019-10-29 12:42:43 +03:00
|
|
|
|
2019-12-23 15:59:14 +03:00
|
|
|
# redis
|
|
|
|
- config: redis.yml
|
|
|
|
REDIS_SERVER_HOST: onlyoffice-redis
|
|
|
|
REDIS_SERVER_PORT: 6379
|
|
|
|
|
2019-10-29 12:42:43 +03:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
script:
|
|
|
|
# Go to tests dir
|
|
|
|
- cd ${PWD}/tests
|
|
|
|
|
|
|
|
# Run test.
|
|
|
|
- ./test.sh
|