Guest User

Untitled

a guest
Dec 25th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. version: '3'
  2.  
  3. services:
  4. db:
  5. image: mariadb
  6. env_file:
  7. - pi.env
  8. command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
  9. restart: always
  10. volumes:
  11. - ${BASE_PATH}/db:/var/lib/mysql
  12.  
  13. nextcloud:
  14. image: nextcloud:apache
  15. env_file:
  16. - pi.env
  17. restart: always
  18. ports:
  19. - 80:80
  20. - 443:443
  21. volumes:
  22. - ${BASE_PATH}/www:/var/www
  23. depends_on:
  24. - db
  25. environment:
  26. - MYSQL_HOST=db
  27.  
  28. MYSQL_PASSWORD=secure-password
  29. MYSQL_ROOT_PASSWORD=even-more-secure.password
  30. MYSQL_DATABASE=nextcloud
  31. MYSQL_USER=nextcloud
  32. BASE_PATH=/tmp
Add Comment
Please, Sign In to add comment