media-server-docker-compose/docker-compose.yml

279 lines
6.9 KiB
YAML
Raw Normal View History

2024-04-08 02:02:04 -04:00
version: '3.1'
2024-04-06 22:52:47 -04:00
services:
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
2024-04-08 02:02:04 -04:00
- ./client_max_body_size.conf:/etc/nginx/conf.d/client_max_body_size.conf:ro
2024-04-07 01:10:14 -04:00
plex:
image: lscr.io/linuxserver/plex:latest
container_name: plex
environment:
2024-04-07 02:17:39 -04:00
- PUID=${UID}
- PGID=${GID}
2024-04-07 02:21:43 -04:00
- TZ=${TZ}
2024-04-07 02:18:03 -04:00
- VIRTUAL_HOST=plex.${DOMAIN}
2024-04-07 01:10:14 -04:00
#- VIRTUAL_PORT=32400
- VERSION=docker
- PLEX_CLAIM=${PLEX_CLAIM}
volumes:
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/plex:/config
2024-04-17 10:34:39 -04:00
- ${DATA_LOCATION}/TV:/tv
- ${DATA_LOCATION}/Movies:/movies
2024-04-07 01:10:14 -04:00
expose:
- "32400"
ports:
- 32400:32400
restart: unless-stopped
2024-04-17 10:34:39 -04:00
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/homarr:/app/data/configs
2024-04-17 10:34:39 -04:00
- ${DATA_LOCATION}/homarr/icons:/app/public/icons
- ${DATA_LOCATION}/homarr:/data
- VIRTUAL_HOST=homarr.${DOMAIN}
- VIRTUAL_PORT=7575
ports:
- '7575:7575'
2024-04-06 22:52:47 -04:00
radarr:
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
environment:
2024-04-07 02:17:39 -04:00
- PUID=${UID}
- PGID=${GID}
2024-04-07 02:21:43 -04:00
- TZ=${TZ}
2024-04-08 02:02:04 -04:00
- VIRTUAL_HOST=radarr.${DOMAIN},radar.${DOMAIN}
2024-04-06 22:52:47 -04:00
volumes:
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/radarr:/config
2024-04-17 10:34:39 -04:00
- ${DATA_LOCATION}/Movies:/movies
2024-04-06 22:52:47 -04:00
- /media/seedbox:/downloads
expose:
2024-04-07 00:37:31 -04:00
- "7878"
2024-04-06 22:52:47 -04:00
ports:
2024-04-07 00:37:31 -04:00
- 7878:7878
2024-04-06 22:52:47 -04:00
restart: unless-stopped
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
environment:
2024-04-07 02:17:39 -04:00
- PUID=${UID}
- PGID=${GID}
2024-04-07 02:21:43 -04:00
- TZ=${TZ}
2024-04-08 02:02:04 -04:00
- VIRTUAL_HOST=sonarr.${DOMAIN},sonar.${DOMAIN}
2024-04-06 22:52:47 -04:00
volumes:
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/sonarr:/config
2024-04-17 10:34:39 -04:00
- ${DATA_LOCATION}/TV:/tv
2024-04-06 22:52:47 -04:00
- /media/seedbox:/downloads
expose:
2024-04-07 00:37:31 -04:00
- "8989"
2024-04-06 22:52:47 -04:00
ports:
2024-04-07 00:37:31 -04:00
- 8989:8989
2024-04-06 22:52:47 -04:00
restart: unless-stopped
2024-04-07 00:37:31 -04:00
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
container_name: prowlarr
environment:
2024-04-07 02:17:39 -04:00
- PUID=${UID}
- PGID=${GID}
2024-04-07 02:21:43 -04:00
- TZ=${TZ}
2024-04-07 02:15:21 -04:00
- VIRTUAL_HOST=prowlarr.${DOMAIN}
2024-04-07 00:37:31 -04:00
volumes:
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/prowlarr:/config
2024-04-07 00:37:31 -04:00
expose:
- "9696"
ports:
- 9696:9696
restart: unless-stopped
2024-04-07 01:10:14 -04:00
overseerr:
image: lscr.io/linuxserver/overseerr:latest
container_name: overseerr
environment:
2024-04-07 02:17:39 -04:00
- PUID=${UID}
- PGID=${GID}
2024-04-07 02:21:43 -04:00
- TZ=${TZ}
2024-04-08 02:02:04 -04:00
- VIRTUAL_HOST=overseerr.${DOMAIN},overseer.${DOMAIN}
2024-04-07 01:10:14 -04:00
volumes:
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/overseerr:/config
2024-04-07 01:10:14 -04:00
expose:
- "5055"
ports:
- 5055:5055
restart: unless-stopped
2024-04-07 02:12:37 -04:00
lidarr:
image: lscr.io/linuxserver/lidarr:latest
container_name: lidarr
environment:
- PUID=33
- PGID=1001
2024-04-07 02:21:43 -04:00
- TZ=${TZ}
2024-04-08 02:02:04 -04:00
- VIRTUAL_HOST=lidarr.${DOMAIN},lidar.${DOMAIN}
2024-04-07 02:12:37 -04:00
volumes:
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/lidarr:/config
2024-04-17 10:34:39 -04:00
- ${DATA_LOCATION}/Music:/music
2024-04-07 02:12:37 -04:00
- /media/seedbox:/downloads
expose:
- "8686"
ports:
- 8686:8686
restart: unless-stopped
2024-04-07 01:10:14 -04:00
mylar3:
image: lscr.io/linuxserver/mylar3:latest
container_name: mylar3
environment:
2024-04-07 02:17:39 -04:00
- PUID=${UID}
- PGID=${GID}
2024-04-07 02:21:43 -04:00
- TZ=${TZ}
2024-04-08 02:02:04 -04:00
- VIRTUAL_HOST=mylar.${DOMAIN},mylar3.${DOMAIN}
2024-04-07 01:10:14 -04:00
volumes:
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/mylar3:/config
2024-04-17 10:34:39 -04:00
- ${DATA_LOCATION}/Comics:/comics
2024-04-07 01:10:14 -04:00
- /media/seedbox:/downloads
ports:
- 8090:8090
restart: unless-stopped
2024-04-07 02:12:37 -04:00
ubooquity:
image: lscr.io/linuxserver/ubooquity:latest
container_name: ubooquity
environment:
2024-04-07 02:17:39 -04:00
- PUID=${UID}
- PGID=${GID}
2024-04-07 02:21:43 -04:00
- TZ=${TZ}
2024-04-07 02:15:21 -04:00
- VIRTUAL_HOST=ubooquity.${DOMAIN}
2024-04-07 02:12:37 -04:00
# - MAXMEM= #optional
volumes:
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/ubooquity:/config
2024-04-17 10:34:39 -04:00
- ${DATA_LOCATION}/Books:/books
- ${DATA_LOCATION}/Comics:/comics
2024-04-07 02:12:37 -04:00
# - /path/to/raw/files:/files
expose:
- "2202"
- "2203"
ports:
2024-04-08 02:02:04 -04:00
- 2202:2202 #:2202/ubooquity
2024-04-07 02:12:37 -04:00
- 2203:2203 #:2203/ubooquity/admin
restart: unless-stopped
audiobookshelf:
image: ghcr.io/advplyr/audiobookshelf:latest
ports:
- 13378:80
volumes:
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/audiobookshelf:/config
2024-04-17 10:34:39 -04:00
- ${DATA_LOCATION}/Audiobooks:/audiobooks
2024-04-07 02:12:37 -04:00
# - </path/to/podcasts>:/podcasts
2024-04-17 10:34:39 -04:00
- ${DATA_LOCATION}/Audiobooks/metadata:/metadata
2024-04-07 02:12:37 -04:00
environment:
- TZ=America/Toronto
2024-04-07 02:15:21 -04:00
- VIRTUAL_HOST=audiobookshelf.${DOMAIN}
2024-04-07 02:12:37 -04:00
readarr:
image: lscr.io/linuxserver/readarr:develop
container_name: readarr
environment:
2024-04-07 02:17:39 -04:00
- PUID=${UID}
- PGID=${GID}
2024-04-07 02:21:43 -04:00
- TZ=${TZ}
2024-04-08 02:02:04 -04:00
- VIRTUAL_HOST=readarr.${DOMAIN},readar.${DOMAIN}
2024-04-07 02:12:37 -04:00
volumes:
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/readarr:/config
2024-04-17 10:34:39 -04:00
- ${DATA_LOCATION}/Books:/books
2024-04-07 02:12:37 -04:00
- /media/seedbox:/downloads
expose:
- "8787"
ports:
- 8787:8787
restart: unless-stopped
readarr-audio:
image: lscr.io/linuxserver/readarr:develop
container_name: readarr-audio
environment:
2024-04-07 02:17:39 -04:00
- PUID=${UID}
- PGID=${GID}
2024-04-07 02:21:43 -04:00
- TZ=${TZ}
2024-04-08 02:02:04 -04:00
- VIRTUAL_HOST=readarr-audio.${DOMAIN},readar-audio.${DOMAIN}
2024-04-07 02:12:37 -04:00
- VIRTUAL_PORT=8787
volumes:
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/readarr-audio:/config
2024-04-17 10:34:39 -04:00
- ${DATA_LOCATION}/Audiobooks:/audiobooks
2024-04-07 02:12:37 -04:00
- /media/seedbox:/downloads
expose:
- "8788"
ports:
- 8788:8788
restart: unless-stopped
2024-04-08 02:02:04 -04:00
wordpress-home:
depends_on:
- db-home
image: wordpress
restart: always
ports:
- 8081:80
environment:
WORDPRESS_DB_HOST: db-home
2024-04-17 11:20:58 -04:00
WORDPRESS_DB_USER: ${DBUSER}
WORDPRESS_DB_PASSWORD: ${DBPASS}
WORDPRESS_DB_NAME: homedb
VIRTUAL_HOST: "${DOMAIN}, www.${DOMAIN}"
2024-04-08 02:02:04 -04:00
volumes:
- wordpress-home:/var/www/html
db-home:
image: mysql:latest
restart: always
environment:
2024-04-17 11:20:58 -04:00
MYSQL_DATABASE: homedb
MYSQL_USER: ${DBUSER}
MYSQL_PASSWORD: ${DBPASS}
2024-04-08 02:02:04 -04:00
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- db-home:/var/lib/mysql
2024-04-10 13:43:42 -04:00
#Nextcloud
2024-04-16 23:03:11 -04:00
nextcloud:
image: lscr.io/linuxserver/nextcloud:latest
container_name: nextcloud
2024-04-10 13:43:42 -04:00
environment:
2024-04-16 23:03:11 -04:00
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- VIRTUAL_HOST=nextcloud.${DOMAIN}
2024-04-10 13:43:42 -04:00
volumes:
2024-04-17 11:42:29 -04:00
- ${CONFIG_LOCATION}/nextcloud:/config
2024-04-17 11:30:11 -04:00
- ${DATA_LOCATION}/Cloud/Nextcloud:/data
2024-04-16 23:03:11 -04:00
ports:
- 443:443
restart: unless-stopped
2024-04-17 11:20:58 -04:00
wordpress-botc:
depends_on:
- db-botc
image: wordpress
restart: always
ports:
- 8089:80
environment:
WORDPRESS_DB_HOST: db-botc
WORDPRESS_DB_USER: ${DBUSER}
WORDPRESS_DB_PASSWORD: ${DBPASS}
WORDPRESS_DB_NAME: botcdb
VIRTUAL_HOST: "phillybotc.com, *.phillybotc.com"
volumes:
- wordpress-botc:/var/www/html
db-botc:
image: mysql:latest
restart: always
environment:
MYSQL_DATABASE: db-botc
MYSQL_USER: ${DBUSER}
MYSQL_PASSWORD: ${DBPASS}
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- db-botc:/var/lib/mysql
2024-04-08 02:02:04 -04:00
volumes:
wordpress-home:
db-home:
wordpress-botc:
db-botc: