# Working Docker example with PostgreSQL, Letsencrypt SSL, Collabora, supervisord

**URL:** <https://help.nextcloud.com/t/working-docker-example-with-postgresql-letsencrypt-ssl-collabora-supervisord/65840>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** docker, cron, letsencrypt, postgresql\
**Created:** [December 9, 2019, 11:44am UTC](https://help.nextcloud.com/t/working-docker-example-with-postgresql-letsencrypt-ssl-collabora-supervisord/65840 "2019-12-09T11:44:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bentolor](https://help.nextcloud.com/letter_avatar/bentolor/32/5_5575768a8748004e209b776fc1b2916d.png) [@bentolor](https://help.nextcloud.com/u/bentolor)\
**Post date:** [December 9, 2019, 11:44am UTC](https://help.nextcloud.com/t/working-docker-example-with-postgresql-letsencrypt-ssl-collabora-supervisord/65840/1 "2019-12-09T11:44:56Z")

</div>

In my perception the official examples yet do not provide a off-the-shelf working _home production ready_ Docker example to host a private NextCloud with SSL and Collabora. As I had some issues to get everything working here a link to my `docker-compose` based deployment example with:

- PostgreSQL backend and Apache server based on [NextCloud PostgreSQL Apache example](https://github.com/nextcloud/docker/blob/master/.examples/docker-compose/with-nginx-proxy/postgres/apache/docker-compose.yml)
- Letsencrypt support using nginx reverse proxy
- [Cron-based background Tasks using `supervisord`](https://github.com/nextcloud/docker/blob/master/.examples/dockerfiles/cron/apache/supervisord.conf)
- The [Collabora Online Office (CODE) integration of the ongoing effort of this merge request](https://github.com/nextcloud/docker/pull/630).

It seems I was able to get a working version running. Please refer to: [https://github.com/bentolor/docker-nextcloud-collabora-postgresql-letsencrypt](https://github.com/bentolor/docker-nextcloud-collabora-postgresql-letsencrypt). Maybe it is helpful to others.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 12:24pm UTC](https://help.nextcloud.com/t/working-docker-example-with-postgresql-letsencrypt-ssl-collabora-supervisord/65840/2 "2024-12-04T12:24:04Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 4:07pm UTC](https://help.nextcloud.com/t/working-docker-example-with-postgresql-letsencrypt-ssl-collabora-supervisord/65840/3 "2024-12-11T16:07:06Z")

</div>


