diff --git a/docker-compose.yml b/docker-compose.yml index 88f4fc4..cc0896a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/docker-env/threetwo-import-service.env b/docker-env/threetwo-import-service.env index 48e6c75..328860f 100644 --- a/docker-env/threetwo-import-service.env +++ b/docker-env/threetwo-import-service.env @@ -5,5 +5,4 @@ MONGO_URI=mongodb://db:27017/threetwo TRANSPORTER=nats://nats:4222 CALIBRE_PATH=/opt/calibre CACHER=Memory -PWD=./ diff --git a/src/client/context/socket/socket.context.tsx b/src/client/context/socket/socket.context.tsx index 211387a..e948030 100644 --- a/src/client/context/socket/socket.context.tsx +++ b/src/client/context/socket/socket.context.tsx @@ -30,7 +30,7 @@ export const WebSocketProvider = ({ children }): ReactElement => { autoDismiss: 0, }), ); - }) + }); socket.on("disconnect", () => { console.log(`disconnect`); });