From dcd4ab237fb9f727568733d90bbe13749321ca17 Mon Sep 17 00:00:00 2001 From: Semen Bezrukov Date: Wed, 23 Oct 2019 18:08:03 +0300 Subject: [PATCH] Add Travis test for deprecated variables --- .travis.yml | 2 ++ mysql.yml | 1 - postgres-deprecated-vars.yml | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 postgres-deprecated-vars.yml diff --git a/.travis.yml b/.travis.yml index 1b80bd4..82d909d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,8 @@ env: - file: activemq.yml + - file: postgres-deprecated-vars.yml + services: - docker diff --git a/mysql.yml b/mysql.yml index afd0815..da654d3 100644 --- a/mysql.yml +++ b/mysql.yml @@ -30,7 +30,6 @@ services: - mysql_data:/var/lib/mysql expose: - '3306' - - '33060' volumes: mysql_data: diff --git a/postgres-deprecated-vars.yml b/postgres-deprecated-vars.yml new file mode 100644 index 0000000..b1df23b --- /dev/null +++ b/postgres-deprecated-vars.yml @@ -0,0 +1,32 @@ +version: '2' +services: + onlyoffice-documentserver: + container_name: onlyoffice-documentserver + image: onlyoffice/4testing-documentserver-ie:latest + depends_on: + - onlyoffice-postgresql + environment: + - POSTGRESQL_SERVER_HOST=onlyoffice-postgresql + - POSTGRESQL_SERVER_PORT=5432 + - POSTGRESQL_SERVER_DB_NAME=onlyoffice + - POSTGRESQL_SERVER_USER=onlyoffice + - POSTGRESQL_SERVER_PASS=onlyoffice + stdin_open: true + restart: always + ports: + - '80:80' + + onlyoffice-postgresql: + container_name: onlyoffice-postgresql + image: postgres:9.5 + environment: + - POSTGRES_DB=onlyoffice + - POSTGRES_USER=onlyoffice + restart: always + expose: + - '5432' + volumes: + - postgresql_data:/var/lib/postgresql + +volumes: + postgresql_data: