# X proxy für https mit Docker einrichten - einbauen in yaml

**URL:** <https://help.nextcloud.com/t/x-proxy-fur-https-mit-docker-einrichten-einbauen-in-yaml/253185>\
**Category:** 🇩🇪 Deutsch (german)\
**Tags:** reverseproxy, docker\
**Created:** [December 6, 2026, 7:32am UTC](https://help.nextcloud.com/t/x-proxy-fur-https-mit-docker-einrichten-einbauen-in-yaml/253185 "2026-12-06T07:32:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nc-kay](https://help.nextcloud.com/letter_avatar/nc-kay/32/6_449c533f586939b6e5f246632a46421f.png) [@nc-kay](https://help.nextcloud.com/u/nc-kay)\
**Post date:** [December 6, 2026, 7:32am UTC](https://help.nextcloud.com/t/x-proxy-fur-https-mit-docker-einrichten-einbauen-in-yaml/253185/1 "2026-12-06T07:32:34Z")

</div>

```auto
services:
  db:
    image: mariadb:10.11
    container_name: nextcloud-db01
    restart: unless-stopped
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-buffer-pool-size=1G --innodb-log-file-size=256M
    volumes:
      - /pfad/zum/speicher/appdata/nextcloud/db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=<DEIN_ROOT_PASSWORT>
      - MYSQL_PASSWORD=<DEIN_DB_PASSWORT>
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud

  redis:
    image: redis:alpine
    container_name: nextcloud-redis
    restart: unless-stopped

  app:
    image: nextcloud:35
    container_name: nextcloud-app
    restart: unless-stopped
    ports:
      - "8080:80"
    depends_on:
      - db
      - redis
    volumes:
      - /pfad/zum/speicher/appdata/nextcloud/html:/var/www/html
      - /pfad/zum/speicher/data:/var/www/html/data
    environment:
      - MYSQL_PASSWORD=<DEIN_DB_PASSWORT>
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_HOST=db
      - REDIS_HOST=redis
      - PHP_MEMORY_LIMIT=1024M
      - PHP_UPLOAD_LIMIT=10G
      - NEXTCLOUD_TRUSTED_DOMAINS=<DEINE_SERVER_IP_ODER_DOMAIN>

  cron:
    image: nextcloud:35
    container_name: nextcloud-cron
    restart: unless-stopped
    volumes:
      - /pfad/zum/speicher/appdata/nextcloud/html:/var/www/html
      - /pfad/zum/speicher/data:/var/www/html/data
    entrypoint: /cron.sh
    depends_on:
      - db
      - redis

```

Wie erweitere ich die yaml praxisgerecht um einen proxy Server?

---

<div class="post-metadata">

**Author:** ![nc-kay](https://help.nextcloud.com/letter_avatar/nc-kay/32/6_449c533f586939b6e5f246632a46421f.png) [@nc-kay](https://help.nextcloud.com/u/nc-kay)\
**Post date:** [December 6, 2026, 8:59am UTC](https://help.nextcloud.com/t/x-proxy-fur-https-mit-docker-einrichten-einbauen-in-yaml/253185/2 "2026-12-06T08:59:44Z")

</div>

linux-helmut [GitHub - linux-helmut/nextcloud-caddy-docker: Self-hosted Nextcloud stack using Caddy as reverse proxy, PHP-FPM, MariaDB and Redis with Docker. · GitHub](https://github.com/linux-helmut/nextcloud-caddy-docker)

> Eine **modulare** , selbst betriebene Nextcloud-Umgebung auf Basis von Docker, PHP-FPM, MariaDB, Redis und Caddy.

Das **modulare** System von @linux-helmut erscheint mir ingesamt leichter händelbar, wenn man es kann. Man ist nicht direkt von einen Docker Hub Angebot angewiesen.

Bei einer “1” yaml Datei möchte ich bleiben, die Sripte von linux-helmunt werde, möchte ich nicht nutzen. Dann bin ich wieder auf linux-helmut angewiesen. Hat l-h keine Lust mehr, geht alles wieder von vorne los. Also besser selbst gestalten und lieber Abstriche in Bezug auf die Technik machen, weil mein Wissen nicht ausreicht.
