Advertisement
Guest User

Untitled

a guest
Aug 14th, 2019
5,206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. version: '2'
  2. services:
  3. nginx:
  4. image : nginx:stable
  5. restart: always
  6. volumes:
  7. - ./nginx/nginx-vhost.conf:/etc/nginx/conf.d/default.conf:ro
  8. - ./nginx/certificates:/mycerts
  9. ports:
  10. - 443:443
  11. - 80:80
  12. depends_on:
  13. - onlyoffice
  14. - app
  15.  
  16. onlyoffice:
  17. image: onlyoffice/documentserver
  18. restart: always
  19.  
  20. db:
  21. image: mariadb
  22. command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
  23. restart: always
  24. volumes:
  25. - /data/nextcloud_db:/var/lib/mysql
  26. environment:
  27. - MYSQL_ROOT_PASSWORD=#put some password here
  28. - MYSQL_PASSWORD=#put some other password here
  29. - MYSQL_DATABASE=nextcloud
  30. - MYSQL_USER=nextcloud
  31.  
  32. app:
  33. image: nextcloud
  34. depends_on:
  35. - db
  36. - onlyoffice
  37. restart: always
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement