🔧 Added network mode host to docker-compose services
This commit is contained in:
@@ -4,6 +4,7 @@ services:
|
|||||||
threetwo:
|
threetwo:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
network: host
|
||||||
image: frishi/threetwo
|
image: frishi/threetwo
|
||||||
container_name: threetwo-ui
|
container_name: threetwo-ui
|
||||||
env_file: ./docker-compose.env
|
env_file: ./docker-compose.env
|
||||||
@@ -24,6 +25,7 @@ services:
|
|||||||
comicvineapi:
|
comicvineapi:
|
||||||
build:
|
build:
|
||||||
context: https://github.com/rishighan/comicvine-service.git
|
context: https://github.com/rishighan/comicvine-service.git
|
||||||
|
network: host
|
||||||
image: frishi/comicvine-service
|
image: frishi/comicvine-service
|
||||||
container_name: comicvine-api
|
container_name: comicvine-api
|
||||||
ports:
|
ports:
|
||||||
@@ -41,6 +43,7 @@ services:
|
|||||||
comicvine:
|
comicvine:
|
||||||
build:
|
build:
|
||||||
context: https://github.com/rishighan/comicvine-service.git
|
context: https://github.com/rishighan/comicvine-service.git
|
||||||
|
network: host
|
||||||
image: frishi/comicvine-service
|
image: frishi/comicvine-service
|
||||||
container_name: comicvine-service
|
container_name: comicvine-service
|
||||||
environment:
|
environment:
|
||||||
@@ -54,6 +57,7 @@ services:
|
|||||||
importapi:
|
importapi:
|
||||||
build:
|
build:
|
||||||
context: https://github.com/rishighan/threetwo-import-service.git
|
context: https://github.com/rishighan/threetwo-import-service.git
|
||||||
|
network: host
|
||||||
image: frishi/threetwo-import-service
|
image: frishi/threetwo-import-service
|
||||||
container_name: threetwo-import-api
|
container_name: threetwo-import-api
|
||||||
ports:
|
ports:
|
||||||
@@ -73,6 +77,7 @@ services:
|
|||||||
import:
|
import:
|
||||||
build:
|
build:
|
||||||
context: https://github.com/rishighan/threetwo-import-service.git
|
context: https://github.com/rishighan/threetwo-import-service.git
|
||||||
|
network: host
|
||||||
image: frishi/threetwo-import-service
|
image: frishi/threetwo-import-service
|
||||||
container_name: import
|
container_name: import
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -90,6 +95,7 @@ services:
|
|||||||
imagetransformation:
|
imagetransformation:
|
||||||
build:
|
build:
|
||||||
context: https://github.com/rishighan/threetwo-import-service.git
|
context: https://github.com/rishighan/threetwo-import-service.git
|
||||||
|
network: host
|
||||||
image: frishi/threetwo-import-service
|
image: frishi/threetwo-import-service
|
||||||
container_name: image-transformation
|
container_name: image-transformation
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ MONGO_URI=mongodb://db:27017/threetwo
|
|||||||
TRANSPORTER=nats://nats:4222
|
TRANSPORTER=nats://nats:4222
|
||||||
CALIBRE_PATH=/opt/calibre
|
CALIBRE_PATH=/opt/calibre
|
||||||
CACHER=Memory
|
CACHER=Memory
|
||||||
PWD=./
|
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ export const WebSocketProvider = ({ children }): ReactElement => {
|
|||||||
autoDismiss: 0,
|
autoDismiss: 0,
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
})
|
});
|
||||||
socket.on("disconnect", () => {
|
socket.on("disconnect", () => {
|
||||||
console.log(`disconnect`);
|
console.log(`disconnect`);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user