7d1606bc95
* Add support of MySQL database
33 lines
664 B
YAML
33 lines
664 B
YAML
version: '2'
|
|
services:
|
|
onlyoffice-documentserver:
|
|
container_name: onlyoffice-documentserver
|
|
image: onlyoffice/4testing-documentserver-ie:latest
|
|
depends_on:
|
|
- onlyoffice-postgresql
|
|
environment:
|
|
- DB_TYPE
|
|
- DB_HOST
|
|
- DB_PORT
|
|
- DB_NAME
|
|
- DB_USER
|
|
- DB_PWD
|
|
stdin_open: true
|
|
restart: always
|
|
ports:
|
|
- '80:80'
|
|
|
|
onlyoffice-postgresql:
|
|
container_name: onlyoffice-postgresql
|
|
image: postgres:9.5
|
|
environment:
|
|
- POSTGRES_DB
|
|
- POSTGRES_USER
|
|
restart: always
|
|
expose:
|
|
- '5432'
|
|
volumes:
|
|
- postgresql_data:/var/lib/postgresql
|
|
|
|
volumes:
|
|
postgresql_data:
|