Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- nginx:
- image : nginx:stable
- restart: always
- volumes:
- - ./nginx/nginx-vhost.conf:/etc/nginx/conf.d/default.conf:ro
- - ./nginx/certificates:/mycerts
- ports:
- - 443:443
- - 80:80
- depends_on:
- - onlyoffice
- - app
- onlyoffice:
- image: onlyoffice/documentserver
- restart: always
- db:
- image: mariadb
- command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
- restart: always
- volumes:
- - /data/nextcloud_db:/var/lib/mysql
- environment:
- - MYSQL_ROOT_PASSWORD=#put some password here
- - MYSQL_PASSWORD=#put some other password here
- - MYSQL_DATABASE=nextcloud
- - MYSQL_USER=nextcloud
- app:
- image: nextcloud
- depends_on:
- - db
- - onlyoffice
- restart: always
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement