diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml
index 3cac944c4992aa6d6bb4606c51276ef5e680f920..0527b81c48acea6e04e3b45f332501cd6a62c579 100644
--- a/docker-compose.prod.yml
+++ b/docker-compose.prod.yml
@@ -149,7 +149,8 @@ services:
     hostname: fda-authentication-service
     image: fda-authentication-service:latest
     networks:
-      - fda-public
+      fda-public:
+        ipv4_address: 172.29.0.14
     volumes:
       - /tmp:/tmp
     environment:
@@ -347,7 +348,8 @@ services:
     build: ./fda-ui
     image: fda-ui
     networks:
-      - fda-public
+      fda-public:
+        ipv4_address: 172.29.0.15
     ports:
       - "3000:3000"
     volumes:
diff --git a/docker-compose.yml b/docker-compose.yml
index 8337d6aa8b34454a3ed473cf6f18a3db8759922c..e193566d2089686ee0f9d1de123b80cd1afb4a15 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -250,7 +250,7 @@ services:
         condition: service_healthy
     logging:
       driver: json-file
-      
+
   fda-units-service:
     restart: on-failure
     container_name: fda-units-service
@@ -298,7 +298,7 @@ services:
     container_name: fda-search-service
     hostname: fda-search-service
     image: elasticsearch:7.13.4
-    command: ["elasticsearch"]
+    command: [ "elasticsearch" ]
     networks:
       fda-public:
         ipv4_address: 172.29.0.6
@@ -322,7 +322,8 @@ services:
     build: ./fda-ui
     image: fda-ui
     networks:
-      - fda-public
+      fda-public:
+        ipv4_address: 172.29.0.15
     ports:
       - "3000:3000"
     volumes: