Guest User

Untitled

a guest
Aug 23rd, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. version: '3'
  2. services:
  3.  
  4. # Cells image with two named volumes for the static and for the data
  5. cells:
  6. image: pydio/cells:latest
  7. restart: always
  8. volumes: ["static:/root/.config/pydio/cells/static/pydio", "data:/root/.config/pydio/cells/data"]
  9. ports:
  10. - "3030:8080"
  11. environment:
  12. - CELLS_BIND=localhost:3030
  13. - CELLS_EXTERNAL=localhost:3030
  14. - CELLS_NO_SSL=1
  15.  
  16. # MySQL image with a default database cells and a dedicated user pydio
  17. mysql:
  18. image: mysql:5.7
  19. restart: always
  20. environment:
  21. MYSQL_ROOT_PASSWORD: P@ssw0rd
  22. MYSQL_DATABASE: cells
  23. MYSQL_USER: pydio
  24. MYSQL_PASSWORD: P@ssw0rd
  25. command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
  26. ports: ["3306:3306"]
  27.  
  28. # PHP FPM image with the static named volume from the cells container
  29. php:
  30. image: pydio/cells-php-fpm:latest
  31. restart: always
  32. volumes: ["static:/root/.config/pydio/cells/static/pydio"]
  33.  
  34. volumes:
  35. static: {}
  36. data: {}
  37. php: {}
Add Comment
Please, Sign In to add comment