Skip to content

Instantly share code, notes, and snippets.

@thiago-rezende
Last active January 30, 2020 23:08
Show Gist options
  • Save thiago-rezende/9eff01e44d9539a4efdf19df5f0610a5 to your computer and use it in GitHub Desktop.
Save thiago-rezende/9eff01e44d9539a4efdf19df5f0610a5 to your computer and use it in GitHub Desktop.
# # # # # # # # # # # # # # # # # # # # # # # # #
# *YOU'LL NEED THE FOLLOWING FOLDER STRUCTURE* #
# ./ #
# ├── docker-compose.yml #
# └── emby-data/ #
# ├── config/ #
# ├── tvshows/ #
# ├── movies/ #
# └── transcoding/ #
# # # # # # # # # # # # # # # # # # # # # # # # #
version: "3"
services:
emby:
image: linuxserver/emby
container_name: emby
environment:
- PUID=1000
- PGID=1000
- TZ=America/Sao_Paulo
- UMASK_SET=022 #optional
volumes:
- config:/config
- tvshows:/data/tvshows
- movies:/data/movies
- transcoding:/transcode #optional
ports:
- 8096:8096
- 8920:8920 #optional
# uncomment this to use your GPU codecs
# devices:
# - /dev/dri:/dev/dri #optional
restart: always
volumes:
config:
driver: local
driver_opts:
type: none
o: bind
device: "${PWD}/emby-data/config"
tvshows:
driver: local
driver_opts:
type: none
o: bind
device: "${PWD}/emby-data/tvshows"
movies:
driver: local
driver_opts:
type: none
o: bind
device: "${PWD}/emby-data/movies"
transcoding:
driver: local
driver_opts:
type: none
o: bind
device: "${PWD}/emby-data/transcoding"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment