Guest User

Untitled

a guest
Feb 1st, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 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:
  9. - ./data:/root/.config/pydio/cells/data
  10. ports:
  11. - "${CELLS_BIND_PORT}:${CELLS_BIND_PORT}"
  12. environment:
  13. CELLS_BIND: "${CELLS_BIND}:${CELLS_BIND_PORT}"
  14. CELLS_EXTERNAL: "${CELLS_EXTERNAL}:${CELLS_EXTERNAL_PORT}"
  15. CELLS_NO_SSL: "${CELLS_NO_SSL}"
  16.  
  17. # MySQL image with a default database cells and a dedicated user pydio
  18. mysql:
  19. image: mysql:5.7
  20. restart: always
  21. environment:
  22. MYSQL_ROOT_PASSWORD: "${MYSQL_ROOT_PASSWORD}"
  23. MYSQL_DATABASE: "${MYSQL_DATABASE}"
  24. MYSQL_USER: "${MYSQL_USER}"
  25. MYSQL_PASSWORD: "${MYSQL_PASSWORD}"
  26. command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
  27. ports:
  28. - "3306:3306"
  29.  
  30. # PureFTP
  31. pureftpd:
  32. image: athena/pure-ftpd
  33. build: "./"
  34. ports:
  35. - "21:21"
  36. - "10000-10100:10000-10100"
  37. volumes:
  38. - ./data/pydiods1:/home/ftpuser
  39. - ./pure-ftpd:/etc/pureftpd
  40. privileged: true
  41. restart: always
Add Comment
Please, Sign In to add comment