diff --git a/.env b/.env index 1e2feb5..2dd9862 100644 --- a/.env +++ b/.env @@ -1,2 +1,3 @@ HDD=/mnt/hdd +SSD=/mnt/ssd TZ=Asia/Yekaterinburg \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/docker-compose.yml b/docker-compose.yml index 09b7ec8..00907b9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration - - ./homarr/appdata:/appdata + - ${SSD}/homarr/appdata:/appdata environment: - SECRET_ENCRYPTION_KEY=a5768cf048956f4da12fd0773b95f8960d571cfd2889c5c428ca9a4c8016bb36 ports: @@ -16,12 +16,12 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=Asia/Yekaterinburg + - TZ=${TZ} - WEBUI_PORT=8080 - TORRENTING_PORT=6881 volumes: - - /mnt/hdd/appdata:/config - - /mnt/hdd/downloads:/downloads #optional + - ${SSD}/appdata:/config + - ${HDD}/downloads:/downloads #optional ports: - 8080:8080 - 6881:6881 @@ -35,8 +35,8 @@ services: - GID=100 # The GID to run emby as (default 2) - GIDLIST=100 # A comma-separated list of additional GIDs to run emby as (default: 2) volumes: - - /mnt/ssd/emby/programdata:/config # Configuration directory - - /mnt/hdd/jellyfin/media:/mnt/media # Media directory + - ${SSD}/emby/programdata:/config # Configuration directory + - ${HDD}/media:/mnt/media # Media directory ports: - 8096:8096 # HTTP port - 8920:8920 # HTTPS port @@ -47,11 +47,11 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=Asia/Yekaterinburg + - TZ=${TZ} - AUTO_UPDATE=true #optional volumes: - - /mnt/hdd/jackett/data:/config - - /mnt/hdd/downloads:/downloads + - ${SSD}/jackett/data:/config + - ${HDD}/downloads:/downloads ports: - 9117:9117 restart: unless-stopped @@ -61,11 +61,11 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=Asia/Yekaterinburg + - TZ=${TZ} volumes: - - /mnt/hdd/sonarr/data:/config - - /mnt/hdd/jellyfin/media/tvseries:/media/tv #optional - - /mnt/hdd/downloads:/downloads #optional + - ${SSD}/sonarr/data:/config + - ${HDD}/media/tvseries:/media/tv #optional + - ${HDD}/downloads:/downloads #optional ports: - 8989:8989 restart: unless-stopped @@ -75,12 +75,12 @@ services: container_name: seerr environment: - LOG_LEVEL=debug - - TZ=Asia/Yekaterinburg + - TZ=${TZ} - PORT=5055 #optional ports: - 5055:5055 volumes: - - /mnt/hdd/seerr/config:/app/config + - ${SSD}/seerr/config:/app/config healthcheck: test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/settings/public || exit 1 start_period: 20s @@ -94,9 +94,9 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=Asia/Yekaterinburg + - TZ=${TZ} volumes: - - /mnt/hdd/prowlarr/data:/config + - ${SSD}/prowlarr/data:/config ports: - 9696:9696 restart: unless-stopped @@ -106,11 +106,11 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=Asia/Yekaterinburg + - TZ=${TZ} volumes: - - /mnt/hdd/radarr/data:/config - - /mnt/hdd/jellyfin/media/movies:/movies #optional - - /mnt/hdd/downloads:/downloads #optional + - ${SSD}/radarr/data:/config + - ${HDD}/media/movies:/movies #optional + - ${HDD}/downloads:/downloads #optional ports: - 7878:7878 restart: unless-stopped \ No newline at end of file