ecb77ddb56
* Add version variable for travis tests * Fix typo * Fix activemq variable * Add travis tests * Remove mysql latest * Fixes & refactoring * Add more travis tests * Remove mysql 8 test * Remove mysql 8 test [2] * Add mysql 8 comment * Fix mysql 8 auth plugin Co-authored-by: Alexey Golubev <alexey.golubev@onlyoffice.com>
36 lines
928 B
YAML
36 lines
928 B
YAML
version: '2.1'
|
|
services:
|
|
onlyoffice-documentserver:
|
|
container_name: onlyoffice-documentserver
|
|
build:
|
|
context: ../.
|
|
depends_on:
|
|
- onlyoffice-postgresql
|
|
environment:
|
|
- DB_TYPE=${DB_TYPE:-postgres}
|
|
- DB_HOST=${DB_HOST:-onlyoffice-postgresql}
|
|
- DB_PORT=${DB_PORT:-5432}
|
|
- DB_NAME=${DB_NAME:-onlyoffice}
|
|
- DB_USER=${DB_USER:-onlyoffice}
|
|
- DB_PWD=${DB_PWD:-onlyoffice}
|
|
stdin_open: true
|
|
restart: always
|
|
ports:
|
|
- '80:80'
|
|
|
|
onlyoffice-postgresql:
|
|
container_name: onlyoffice-postgresql
|
|
image: postgres:${POSTGRES_VERSION:-9.5}
|
|
environment:
|
|
- POSTGRES_DB=${POSTGRES_DB:-onlyoffice}
|
|
- POSTGRES_USER=${POSTGRES_USER:-onlyoffice}
|
|
- POSTGRES_HOST_AUTH_METHOD=${POSTGRES_HOST_AUTH_METHOD:-trust}
|
|
restart: always
|
|
expose:
|
|
- '5432'
|
|
volumes:
|
|
- postgresql_data:/var/lib/postgresql
|
|
|
|
volumes:
|
|
postgresql_data:
|