Advertisement
Guest User

Untitled

a guest
Apr 28th, 2019
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. version: '2'
  2.  
  3. volumes:
  4. nextcloud:
  5. db:
  6.  
  7. services:
  8. db:
  9. command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
  10. image: mariadb
  11. restart: always
  12. volumes:
  13. - db:/var/lib/mysql
  14. environment:
  15. - MYSQL_ROOT_PASSWORD=
  16. - MYSQL_PASSWORD=
  17. - MYSQL_DATABASE=
  18. - MYSQL_USER=
  19.  
  20. app:
  21. image: nextcloud:fpm-alpine
  22. links:
  23. - db
  24. volumes:
  25. - /data/nextcloud:/var/www/html
  26. restart: always
  27.  
  28. web:
  29. image: nginx
  30. ports:
  31. - 8080:80
  32. links:
  33. - app
  34. volumes:
  35. - ./nginx.conf:/etc/nginx/nginx.conf:ro
  36. volumes_from:
  37. - app
  38. restart: always
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement