Advertisement
Guest User

Untitled

a guest
Sep 17th, 2022
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1.  
  2. version: '2.0'
  3. services:
  4. db:
  5. image: mariadb:10.5
  6. container_name: seafile-mysql
  7. environment:
  8. - MYSQL_ROOT_PASSWORD=**** # Requested, set the root's password of MySQL service.
  9. - MYSQL_LOG_CONSOLE=true
  10. volumes:
  11. - /home/USERNAME/seafile/mysql:/shared # Requested, specifies the path to MySQL data persistent st>
  12. networks:
  13. - seafile-net
  14.  
  15. memcached:
  16. image: memcached:1.6
  17. container_name: seafile-memcached
  18. entrypoint: memcached -m 256
  19. networks:
  20. - seafile-net
  21.  
  22. seafile:
  23. image: seafileltd/seafile-mc:latest
  24. container_name: seafile
  25. ports:
  26. - "80:80"
  27. - "8000:443" # If https is enabled, cancel the comment.
  28. volumes:
  29. - /media/seafile:/shared # Requested, specifies the path to Seafile data persistent store. *THIS IS MOUNTED ON A NAS-SHARE!!!*
  30. environment:
  31. - DB_HOST=db
  32. - DB_ROOT_PASSWD=**** # Requested, the value shuold be root's password of MySQL s>
  33. - TIME_ZONE=Etc/UTC # Optional, default is UTC. Should be uncomment and set to your local time zone.
  34. - SEAFILE_ADMIN_EMAIL=XXX@YYY.ZZ # Specifies Seafile admin user, default is 'me@example.com'.
  35. - SEAFILE_ADMIN_PASSWORD=**** # Specifies Seafile admin password, default is '>
  36. - SEAFILE_SERVER_LETSENCRYPT=true # Whether to use https or not.
  37. - SEAFILE_SERVER_HOSTNAME=seafile.domain.ZZ # Specifies your host name if https is enabled.
  38. depends_on:
  39. - db
  40. - memcached
  41. networks:
  42. - seafile-net
  43.  
  44. networks:
  45. seafile-net:
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement