From 52ad26e47969872756d5483ba3b650a9bbd1fb33 Mon Sep 17 00:00:00 2001 From: Marco van Zijl Date: Fri, 17 May 2024 19:08:39 +0200 Subject: [PATCH] Initial commit --- docker-compose.yaml | 90 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docker-compose.yaml diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..b1234b6 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,90 @@ +version: "3.7" + +services: + + nginx-proxy-manager: + image: jc21/nginx-proxy-manager:latest + container_name: nginx-proxy-manager + restart: always + ports: + - "80:80" + - "81:81" + - "443:443" + volumes: + - /rpool/data/docker/nginx-proxy-manager/data:/data + - /rpool/data/docker/nginx-proxy-manager/letsencrypt:/etc/letsencrypt + healthcheck: + test: ["CMD", "/usr/bin/check-health"] + interval: 30s + timeout: 3s + logging: + options: + max-size: "4m" + max-file: "10" + + gitea: + image: gitea/gitea:1.21.11 + container_name: gitea + environment: + - USER_UID=112 + - USER_GID=120 + restart: always + volumes: + - /rpool/data/docker/gitea:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: + - "3000:3000" + - "222:22" + logging: + options: + max-size: "4m" + max-file: "10" + + nextcloud-aio-mastercontainer: + image: nextcloud/all-in-one:latest + init: true + restart: always + container_name: nextcloud-aio-mastercontainer + volumes: + - nextcloud_aio_mastercontainer:/mnt/docker-aio-config + - /var/run/docker.sock:/var/run/docker.sock:ro + ports: + - 8080:8080 + environment: + APACHE_PORT: 11000 + APACHE_IP_BINDING: 0.0.0.0 # Should be set when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else) that is running on the same host. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md + BORG_RETENTION_POLICY: --keep-within=7d --keep-weekly=4 --keep-monthly=6 # Allows to adjust borgs retention policy. See https://github.com/nextcloud/all-in-one#how-to-adjust-borgs-retention-policy + NEXTCLOUD_DATADIR: /rpool/data/docker/nextcloud # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud installation is done! See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir + NEXTCLOUD_ENABLE_DRI_DEVICE: 'true' + NEXTCLOUD_ADDITIONAL_APKS: bash ffmpeg libva-utils libva-vdpau-driver libva-intel-driver intel-media-driver mesa-va-gallium + + qbittorrent: + container_name: qbittorrent + environment: + #- PAGID=10000 + #- PGID=1000 + #- PUID=1000 + - QBT_EULA=accept + - QBT_WEBUI_PORT=8041 + #- TZ=UTC + #- UMASK=022 + image: qbittorrentofficial/qbittorrent-nox:latest + ports: + # for bittorrent traffic + - 6881:6881/tcp + - 6881:6881/udp + # for WebUI + - 8041:8041/tcp + read_only: true + stop_grace_period: 30m + tmpfs: + - /tmp + tty: true + volumes: + - /rpool/data/docker/qbittorrent:/config + - /veda/tijdelijk/downloads:/downloads + +volumes: # If you want to store the data on a different drive, see https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive + nextcloud_aio_mastercontainer: + name: nextcloud_aio_mastercontainer \ No newline at end of file