From 8f9dc75dfc0180529fff910810d62eb3d5407614 Mon Sep 17 00:00:00 2001 From: Navratan Lal Gupta Date: Tue, 24 Oct 2023 12:14:08 +0530 Subject: [PATCH] OK DEPLOY : Add static intername IP for radarr and sonarr --- docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b979137..a0c1c3d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -112,7 +112,8 @@ services: container_name: radarr image: lscr.io/linuxserver/radarr:5.0.3 networks: - - mynetwork + mynetwork: + ipv4_address: ${RADARR_STATIC_CONTAINER_IP} # It should be available IPv4 address in range of docker network `mynetwork` e.g. 172.20.0.2 environment: - PUID=1000 - PGID=1000 @@ -137,7 +138,8 @@ services: image: lscr.io/linuxserver/sonarr:4.0.0-develop container_name: sonarr networks: - - mynetwork + mynetwork: + ipv4_address: ${SONARR_STATIC_CONTAINER_IP} # It should be available IPv4 address in range of docker network `mynetwork` e.g. 172.20.0.2 environment: - PUID=1000 - PGID=1000