Advertisement
jspudich

nextcloud docker compose

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