Advertisement
Guest User

Nc

a guest
Jan 20th, 2020
996
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. version: '2'
  2.  
  3. volumes:
  4. nextcloud:
  5. db:
  6.  
  7. services:
  8. db:
  9. image: mariadb
  10. command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
  11. restart: always
  12. volumes:
  13. - db:/var/lib/mysql
  14. environment:
  15. - MYSQL_ROOT_PASSWORD=mypass
  16. - MYSQL_PASSWORD=mypass
  17. - MYSQL_DATABASE=nextcloud
  18. - MYSQL_USER=nextcloud
  19.  
  20. app:
  21. image: nextcloud
  22. ports:
  23. - 8080:80
  24. links:
  25. - db
  26. volumes:
  27. - nextcloud:/var/www/html
  28. restart: always
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement