Operate Emby with Docker

Last time: Ghost with Docker This is the trajectory of my trial and error that I want to be able to use Docker soon.

Migrate Emby to Docker

Last time, I migrated the blog service Ghost to a container. Untitled(9).png

This time, among the VM server applications, Emby, which is a media server, will be operated with Docker. Untitled(10).png

container

As for the image, there is Official maintenance image, so use it. Originally I used it without any special settings, so I just mounted the media volume.

docker-compose.yml excerpt


media:
    image: emby/embyserver:latest
    restart: always
    volumes:
        - /home/fclef/docker/server/media/config:/config
        - /mnt/a:/mnt #Media volume that was also mounted in the VM

As expected, the official maintenance was enough, and it moved quickly.

Reverse proxy

Emby deploys under the root, not under the subdomain. This image delivers Emby on port 8096.

domain.conf excerpt


    location /media/ {
        rewrite ^/media(.*)$ $1 break;
        include /etc/nginx/params/proxy_params;
        proxy_pass http://media:8096;
    }

that's all. It was the easiest transition ever. Next time, I'll finally port a Python application such as WebSocket or Django. It seems that we will finally write a Dockerfile. Next time: Running a Python Web application with Docker

Recommended Posts

Operate Emby with Docker
Operate a honeypot (Dionaea) with Docker
Launch MariaDB with Docker
Rails deploy with Docker
Run Pico with docker
Use Puphpeteer with Docker
Try WildFly with Docker
Use ngrok with Docker
Run Payara with Docker
[Docker] Connection with MySQL
Php settings with Docker
Getting Started with Docker
Disposable PHP with Docker
Install Composer with Docker
Pytorch execution environment with Docker
Use GDAL with Python with Docker
Deploy with EC2 / Docker / Laravel
Docker management with VS Code
Let's operate Excel with Java! !!
Run Rails whenever with docker
Get started with DynamoDB with docker
Docker autostart settings with wsl2
[Docker] Rails 5.2 environment construction with docker
Spring Boot starting with Docker
Build docker environment with WSL
Version control CocoaPods with Docker
Web application built with docker (1)
I tried BIND with Docker
React environment construction with Docker
Build DynamoDB local with Docker
[Docker] Use whenever with Docker + Rails
Using PlantUml with Honkit [Docker]
Rails + MySQL environment construction with Docker
Create a Vue3 environment with Docker!
Node.js environment construction with Docker Compose
Run lambda with custom docker image
Install java with Ubuntu 16.04 based Docker
Build a Node.js environment with Docker
Environment construction with Docker for beginners
[PDO → DB connection with docker, PHP]
Run SQL Server with Docker ToolBox
Easily Docker Java applications with Jib
Why use orchestration tools with Docker
Build PlantUML environment with VSCode + Docker
Try running cloudera manager with docker
Molecular phylogenetics exercise with docker (working)
IP address interfered with Docker bridge
Build environment with vue.js + rails + docker
Read dump file with Docker MySQL
Hello World with Docker and C
Build Rails environment with Docker Compose
Create SolrCloud verification environment with Docker
WordPress with Docker Compose on CentOS 8
[Google Cloud] Getting Started with Docker
[SRE / Docker] Start control with Dockerize
Create Laravel environment with Docker (docker-compose)
[Environment construction with Docker] Rails 6 & MySQL 8
Web application creation with Nodejs with Docker
Make JupyterLab run anywhere with docker
mysql doesn't start up with docker.
Gats by new with yarn (Docker)