🔧 Added network mode host to docker-compose services

This commit is contained in:
2021-10-17 10:44:55 -07:00
parent f5116e1278
commit e9d744f4f5
3 changed files with 7 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ services:
threetwo:
build:
context: .
network: host
image: frishi/threetwo
container_name: threetwo-ui
env_file: ./docker-compose.env
@@ -24,6 +25,7 @@ services:
comicvineapi:
build:
context: https://github.com/rishighan/comicvine-service.git
network: host
image: frishi/comicvine-service
container_name: comicvine-api
ports:
@@ -41,6 +43,7 @@ services:
comicvine:
build:
context: https://github.com/rishighan/comicvine-service.git
network: host
image: frishi/comicvine-service
container_name: comicvine-service
environment:
@@ -54,6 +57,7 @@ services:
importapi:
build:
context: https://github.com/rishighan/threetwo-import-service.git
network: host
image: frishi/threetwo-import-service
container_name: threetwo-import-api
ports:
@@ -73,6 +77,7 @@ services:
import:
build:
context: https://github.com/rishighan/threetwo-import-service.git
network: host
image: frishi/threetwo-import-service
container_name: import
depends_on:
@@ -90,6 +95,7 @@ services:
imagetransformation:
build:
context: https://github.com/rishighan/threetwo-import-service.git
network: host
image: frishi/threetwo-import-service
container_name: image-transformation
volumes:

View File

@@ -5,5 +5,4 @@ MONGO_URI=mongodb://db:27017/threetwo
TRANSPORTER=nats://nats:4222
CALIBRE_PATH=/opt/calibre
CACHER=Memory
PWD=./

View File

@@ -30,7 +30,7 @@ export const WebSocketProvider = ({ children }): ReactElement => {
autoDismiss: 0,
}),
);
})
});
socket.on("disconnect", () => {
console.log(`disconnect`);
});