Synology: Install Emby With Portainer

Synology Install Emby With Portainer

My previous guide for Emby involved the use of Task Scheduler. Today I’m offering a recommended and excellent alternative for installing the latest Emby version via Portainer. Emby is a media server designed to organize, play, and stream audio and video to a variety of devices. Bringing all of your home videos, music, and photos together into one place has never been easier. Your personal Emby Server automatically converts and streams your media on-the-fly to play on any device. In this step by step guide I will show you how to install Emby on your Synology NAS using Docker & Portainer.

💡Note: This guide works perfectly with the latest Emby v4.8.8.0 release.

💡Note: Check out How to Install Emby With Hardware Transcoding

💡Note: Check out my guide on how to Install Emby Without Docker.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.

  • STEP 3

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it emby. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Emby Synology NAS Set up 1

  • STEP 4

Now create four new folders inside the emby folder that you created at STEP 3 and name them tvshows, music, movies, config. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Emby Synology NAS Set up 2

  • STEP 5

Log into Portainer using your username and password. On the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.

1 Synology Portainer Add Stack

  • STEP 6

In the Name field type in emby. Follow the instructions in the image below.

Note: Copy Paste the code below in the Portainer Stacks Web editor.

services:
  emby:
    image: emby/embyserver:latest
    container_name: Emby
    environment:
      TZ: Europe/Bucharest
      UID: 1026
      GID: 100
    ports:
      - 8096:8096
      - 8920:8920
    volumes:
      - /volume1/docker/emby/config:/config:rw
      - /volume1/docker/emby/tvshows:/tvshows:rw
      - /volume1/docker/emby/music:/music:rw
      - /volume1/docker/emby/movies:/movies:rw
    restart: on-failure:5
    network_mode: host

Note: Before you paste the code above in the Web editor area below, change the value for TZ. (Select your current Time Zone from this list.)
Note: Before you paste the code above in the Web editor area below, change the value numbers for UID and GID with your own values. (Follow my step by step guide on how to do this.)
Note: Before you paste the code above in the Web editor area below, change the tvshows, music and movies path folders with your own tvshows, music and movies path folders. For example: my movies folder, where my media is, is in /volume1/docker/emby/movies and my music folder, where my music is, is located in /volume1/docker/emby/music

Emby Synology NAS Set up 3

  • STEP 7

Scroll down on the page until you see a button named Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.

Emby Synology NAS Set up 4

  • STEP 8

If everything goes right, you will see the following message at the top right of your screen: “Success Stack successfully deployed“.

Emby Synology NAS Set up 5

  • STEP 9

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 10

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:8096 Select your Preferred display language, then click Next. Follow the instructions in the image below.

Emby Synology NAS Set up 6

  • STEP 11

After you click Next on STEP 10, you will be prompted to Create a new Emby user account. Click Next. Follow the instructions in the image below.

Emby Synology NAS Set up 7

  • STEP 12

Click the + New Library tab. Follow the instructions in the image below.

Emby Synology NAS Set up 8

  • STEP 13

For Movies select Movies then + Add to add the movie folder. Follow the instructions in the image below.

Emby Synology NAS Set up 9

  • STEP 14

From the folder list, search for /movies then click OK. Follow the instructions in the image below.

Note: for Music, select Music on STEP 13 then your /music folder on STEP 14.

Emby Synology NAS Set up 10

  • STEP 15

After you click OK at STEP 14, click OK at STEP 15. Follow the instructions in the image below.

Emby Synology NAS Set up 11

  • STEP 16

Click Next or Add another folder like the music folder following the same exact STEPS from STEP 12 to STEP 15. Follow the instructions in the image below.

Emby Synology NAS Set up 12

  • STEP 17

Select the Language then the Country for Preferred Metadata Language, then click Next. Follow the instructions in the image below.

Emby Synology NAS Set up 13

  • STEP 18

Disable “Automatic port mapping”, then click Next. Follow the instructions in the image below.

Emby Synology NAS Set up 14

  • STEP 19

Accept the Emby Terms of use, then click Next. Follow the instructions in the image below.

Emby Synology NAS Set up 15

  • STEP 20

Click Finish. Follow the instructions in the image below.

Emby Synology NAS Set up 16

  • STEP 21

Click on the user that you have previously created at STEP 11. Follow the instructions in the image below.

Emby Synology NAS Set up 17

  • STEP 22

Type in the Username and Password that you have previously created at STEP 11, then click Sign In. Follow the instructions in the image below.

Emby Synology NAS Set up 18

  • STEP 23

Check your movies!

Emby Synology NAS Set up 19

  • STEP 24

Play your movies!

Emby Synology NAS Set up 20

Enjoy Emby!

🆘TROUBLESHOOTING

If you encounter issues by using this container, make sure to check out the Common Docker issues article.

Note: If you want to run the Emby container over HTTPS, check How to Run Docker Containers Over HTTPS. In order to make Emby work via HTTPS, it’s mandatory to activate WebSocket.

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update the Emby container with the latest image.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.

This post was updated on Monday / September 16th, 2024 at 9:27 AM