mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
30 lines
689 B
YAML
30 lines
689 B
YAML
version: "2.4"
|
|
services:
|
|
sonarr:
|
|
image: linuxserver/sonarr
|
|
container_name: sonarr
|
|
environment:
|
|
PUID: 1000
|
|
PGID: 1000
|
|
TZ: Australia/Melbourne
|
|
# UMASK_SET: 022 #optional
|
|
VIRTUAL_HOST: "sonarr.home.toozhao.com"
|
|
VIRTUAL_PORT: 8989
|
|
LETSENCRYPT_HOST: "sonarr.home.toozhao.com"
|
|
LETSENCRYPT_EMAIL: "me@toozhao.com"
|
|
volumes:
|
|
- /mnt/configs/sonarr:/config
|
|
- /mnt/downloads:/tv
|
|
- /mnt/downloads:/downloads
|
|
ports:
|
|
- 8989:8989
|
|
restart: unless-stopped
|
|
networks:
|
|
- gateway_default
|
|
mem_limit: 1024m
|
|
mem_reservation: 128m
|
|
cpu_percent: 20
|
|
networks:
|
|
gateway_default:
|
|
external: true
|