2020-03-27 23:22:00 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
sonarr:
|
|
|
|
# https://hub.docker.com/r/linuxserver/sonarr
|
2021-12-16 20:25:50 +00:00
|
|
|
image: linuxserver/sonarr:latest
|
2020-03-27 23:22:00 +00:00
|
|
|
container_name: sonarr
|
|
|
|
#network_mode: "host"
|
|
|
|
ports:
|
|
|
|
- "${EXT_PORT}:8989/tcp"
|
|
|
|
env_file: .env
|
|
|
|
volumes:
|
|
|
|
- "${CONFIG_PATH}:/config"
|
2020-03-31 17:37:10 +00:00
|
|
|
# Using same path to fix integration with transmission working on host
|
|
|
|
- "${TVSERIES_PATH}:${TVSERIES_PATH}"
|
|
|
|
#- "${TVSERIES_PATH}:/tv"
|
|
|
|
#- "${DOWNLOADS_PATH}:/downloads"
|
2020-03-27 23:22:00 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "${LOG_MAX_SIZE:-5m}"
|
|
|
|
max-file: "${LOG_MAX_FILE:-5}"
|