Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2022
19
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '2'
  2.  
  3. volumes:
  4. nextcloud:
  5. db:
  6.  
  7. services:
  8. db:
  9. image: mariadb
  10. restart: always
  11. command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed
  12. volumes:
  13. - db:/var/lib/mysql
  14. environment:
  15. - MYSQL_ROOT_PASSWORD=gege
  16. - MYSQL_PASSWORD=gege
  17. - MYSQL_DATABASE=nextcloud
  18. - MYSQL_USER=nextcloud
  19.  
  20. app:
  21. image: nextcloud
  22. restart: always
  23. ports:
  24. - 8080:80
  25. links:
  26. - db
  27. volumes:
  28. - C:/belin:/var/www/html
  29. environment:
  30. - MYSQL_PASSWORD=gege
  31. - MYSQL_DATABASE=nextcloud
  32. - MYSQL_USER=nextcloud
  33. - MYSQL_HOST=db
Advertisement
RAW Paste Data Copied
Advertisement