22 thoughts on “Docker Containers, Plex, Nextcloud, & Let's Encrypt = Awesome Server Setup

  1. version: '2'

    services:

    sslproxy:

    image: danieldent/nginx-ssl-proxy

    restart: always

    environment:

    #UPSTREAM

    SERVERNAME: nextcloud.sample.com

    #EXTRANAMES

    ports:

    – "80:80"

    – "443:443"

    volumes:

    – /docker/nginx/conf:/etc/nginx/conf.d

    – /docker/letsencrypt:/etc/letsencrypt

    mysql:

    image: mysql

    volumes:

    – /localpath/mysql:/etc/letsencrypt

    environment:

    – MYSQL_ROOT_PASSWORD=rootpassword

    – MYSQL_DATABASE=nextcloud

    – MYSQL_USER=nextcloud

    – MYSQL_PASSWORD=password

    nextcloud:

    image: wonderfall/nextcloud

    environment:

    – UID=1000

    – GID=1000

    – UPLOAD_MAX_SIZE=100G

    – APC_SHM_SIZE=128M

    – OPCACHE_MEM_SIZE=128

    – CRON_PERIOD=15m

    – TZ=Europe/Berlin

    – ADMIN_USER=admin

    – ADMIN_PASSWORD=password

    – DOMAIN=localhost

    – DB_TYPE=mysql

    – DB_NAME=nextcloud

    – DB_USER=nextcloud

    – DB_PASSWORD=password

    – DB_HOST=mysql

    depends_on:

    – mysql

    volumes:

    – /docker/nextcloud/data:/data

    – /docker/nextcloud/config:/config

    – /docker/nextcloud/apps:/apps2

    – /docker/nextcloud/themes:/nextcloud/themes

    ports:

    – 8888:8888

    plex:

    image: plexinc/pms-docker

    restart: unless-stopped

    environment:

    – TZ=Europe/Berlin

    – PLEX_CLAIM=YOURKEY

    network_mode: host

    volumes:

    – /docker/plex/filedatabase:/config

    – /docker/plex/transcode/tmp:/transcode

    – /docker/nextcloud/data:/data

    ports:

    – 32400:32400

  2. I would live to use your docker-rsync image!
    I am about to build my new media server and I would like to avoid dropping $$ on a raid card.

  3. I'm looking at moving my Nextcloud server on a Raspberry Pi to run under Docker so I can add additional service, as such this is a really useful video for me, thanks.
    I'd be interested to know how you update your Nextcloud version with this setup, and also if you have any firewall on the host?
    Please more videos like this (I wish I'd found your channel earlier) 🙂

  4. This is an amazing video. 2 thumbs up! For anybody whos reading this, I've already built a Nextcloud setup with let's encrypt on a Rasp1 and it was working quite well. However, I wanted to build the same kind of server but with exactly what is suggested here (docker, plex…) I've unsuccessfully built a Plex server on a linux computer (was my first steps in linux) so I'm wondering what you guys suggests. I know just a little of docker. Where should I start ?

  5. Have everything working great! Quick question if you know the answer. using the NGINX image. if i download the proxy.config file how do I use to to setup other SSL sites? Do I need to just copy and paste and change the settings for each site? If so Do I make any changes on the compose.yml file?

  6. Did you run into permissions issues when adding the external storage? I can't seem to get NC to understand that it's allowed to access the directory.

Leave a Reply

Your email address will not be published. Required fields are marked *