Wiedza docker-compose

SiewcaRyżu

Kimchi & Pikachu
Contributor
9 Październik 2023
16 209
5
1 207
153
23
QNAP
null
Ethernet
null
Instalacja i konfiguracja zestawu:
docker-compose dla mediów vi docker-compose.yml
Kod:
version: '3.3'
services:
    portainer-ce:
        ports:
            - '9000:9000'
        container_name: portainer
        volumes:
            - '/var/run/docker.sock:/var/run/docker.sock'
            - 'portainer_config:/data'
        restart: always
        image: portainer/portainer-ce
    qbittorrent:
        container_name: qbittorrent
        environment:
            - PUID=${apps_puid}
            - PGID=${apps_guid}
            - TZ=${apps_timezone}
            - WEBUI_PORT=${qbitorrent_port}
        ports:
            - '6881:6881'
            - '6881:6881/udp'
            - '${qbitorrent_port}:9092'
        volumes:
            - 'qbittorrent_config:/config'
            - '${download_path}:/downloads'
        restart: ${apps_restartpolicy}
        image: linuxserver/qbittorrent
    radarr:
        container_name: radarr
        environment:
            - PUID=${apps_puid}
            - PGID=${apps_guid}
            - TZ=${apps_timezone}
        ports:
            - '${radarr_port}:7878'
        volumes:
            - 'radarr_config:/config'
            - '${radarr_movies}:/movies'
            - '${download_path}:/downloads'
        restart: ${apps_restartpolicy}
        image: linuxserver/radarr
    sonarr_anime:
        container_name: sonarr_anime
        environment:
            - PUID=${apps_puid}
            - PGID=${apps_guid}
            - TZ=${apps_timezone}
        ports:
            - '${sonarranime_port}:8989'
        volumes:
            - 'sonarr_config_anime:/config'
            - '${sonarranime_folder}:/data'
            - '${download_path}:/downloads'
        restart: ${apps_restartpolicy}
        image: 'linuxserver/sonarr:develop'
    sonarr_series:
        container_name: sonarr_series
        environment:
            - PUID=${apps_puid}
            - PGID=${apps_guid}
            - TZ=${apps_timezone}
        ports:
            - '${sonarrseries_port}:8989'
        volumes:
            - 'sonarr_config_series:/config'
            - '${sonarrseries_folder}:/data'
        restart: ${apps_restartpolicy}
        image: 'linuxserver/sonarr:develop'
    prowlarr:
        container_name: prowlarr
        environment:
            - PUID=${apps_puid}
            - PGID=${apps_guid}
            - TZ=${apps_timezone}
        ports:
            - '${prowlarr_port}:9696'
        volumes:
            - 'prowlarr_config:/config'
        restart: ${apps_restartpolicy}
        image: 'linuxserver/prowlarr:develop'
    emby:
        container_name: emby_server
        environment:
            - PUID=${apps_puid}
            - PGID=${apps_guid}
            - TZ=${apps_timezone}
        ports:
            - '${emby_port}:8096'
        volumes:
            - 'emby_config:/config'
            - '${emby_folder1}:/data/movies'
            - '${emby_folder2}:/data/series'
            - '${emby_folder3}:/data/anime'
        devices:
            - '/dev/dri:/dev/dri'
        restart: ${apps_restartpolicy}
        image: linuxserver/emby
    jellyseer:
        container_name: jellyseer
        environment:
            - PUID=${apps_puid}
            - PGID=${apps_guid}
            - LOG_LEVEL=debug
            - JELLYFIN_TYPE=emby
            - TZ=${apps_timezone}
        ports:
            - '${jellyseer_port}:5055'
        volumes:
            - 'jellyseer_config:/app/config'
        restart: ${apps_restartpolicy}
        image: fallenbagel/jellyseerr:latest
volumes:
    portainer_config:
        driver: local
    qbittorrent_config:
        driver: local
    radarr_config:
        driver: local
    sonarr_config_anime:
        driver: local
    sonarr_config_series:
        driver: local
    prowlarr_config:
        driver: local
    emby_config:
        driver: local
    jellyseer_config:
        driver: local

plik z ustawieniami vi .env
Kod:
########################ustawienia kontenerow##################################
# primary user ID -> id -u
apps_puid=1000
# primary group ID -> id -g
apps_guid=1000
# should container be up after reboot ?  https://docs.docker.com/config/containers/start-containers-automatically/
apps_restartpolicy=unless-stopped
# all applications timezone https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
apps_timezone=Europe/Warsaw
########################pobieranie torrent##################################
#qbitorrent webport - https://hub.docker.com/r/linuxserver/qbittorrent
qbitorrent_port=9092
#path where downloaded data will be https://hub.docker.com/r/linuxserver/qbittorrent
download_path=/media/mmedia/Downloads
#######################################################################
#radarr web port https://hub.docker.com/r/linuxserver/radarr
radarr_port=7878
#path where movies are residing
radarr_movies=/media/mmedia/Filmy
#######################sonarr seriale#######################################
#sonarr for tv series webport https://hub.docker.com/r/linuxserver/sonarr
sonarrseries_port=8998
#sonarr for anime video's location
sonarranime_folder=/media/mmedia/Anime
########################sonarr anime######################################
#sonarr for anime webport https://hub.docker.com/r/linuxserver/sonarr
sonarranime_port=8999
#sonarr for tv series video location
sonarrseries_folder=/media/mmedia/Seriale
##########################indexer########################################
#prowlarr web port https://hub.docker.com/r/linuxserver/prowlarr
prowlarr_port=9696
##########################emby#########################################
#emby port https://hub.docker.com/r/linuxserver/emby
emby_port=8096
#emby folders with data
emby_folder1=/media/mmedia/Anime
emby_folder2=/media/mmedia/Seriale
emby_folder3=/media/mmedia/Filmy
##########################nadzorca#######################################
#jellyseer port https://hub.docker.com/r/fallenbagel/jellyseerr
jellyseer_port=5056
 
  • Lubię to
Reakcje: jerry1333
Aby zobaczyć tę odpowiedź, musisz się zalogować lub zarejestrować.
 
Aby zobaczyć tę odpowiedź, musisz się zalogować lub zarejestrować.
 
Aby zobaczyć tę odpowiedź, musisz się zalogować lub zarejestrować.
 
Aby zobaczyć tę odpowiedź, musisz się zalogować lub zarejestrować.
 
Aby zobaczyć tę odpowiedź, musisz się zalogować lub zarejestrować.
 
Aby zobaczyć tę odpowiedź, musisz się zalogować lub zarejestrować.
 
Aby zobaczyć tę odpowiedź, musisz się zalogować lub zarejestrować.
 
  • Lubię to
Reakcje: jerry1333

Użytkownicy znaleźli tą stronę używając tych słów:

  1. Portainer
  2. unifi
  3. emby
  4. compose
  5. Portainer instalacja
  6. radarr
  7. qbittorrent docker
  8. docker-compose
  9. instalacja portainer
  10. docker compose
  11. Docker Hub
  12. sonarr
  13. qBitorrent
  14. docker
  15. aktualizacja docker