I could not find a solution that let me run Owncloud in a docker image, so I decided to write my own dockerfile to do so. Things that are different from other solutions (at least other solutions that I could find)

  • Use Nginx instead of Apache (lower resource utilization)
  • use sqlite to avoid having a full-blown SQL server somewhere (because there will be just one or two users, so the sqlite is fair enough)
  • enforce SSL and generate certificate when the Docker image is built
  • Keep config and data in a persistent volume so I can move everything to another server without data loss

have a look at Github

blog comments powered by Disqus


22 February 2015