Skip to content

Commit

Permalink
feat: adicionado load balancing
Browse files Browse the repository at this point in the history
  • Loading branch information
bgastaldi committed Jul 5, 2021
1 parent b5b5746 commit 3d2087b
Show file tree
Hide file tree
Showing 9 changed files with 4,658 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
.husky
commitlint.config.js
1 change: 1 addition & 0 deletions docker-server-front-dev/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ services:

networks:
wpp-network:
name: wpp-network
driver: bridge
2 changes: 2 additions & 0 deletions docker-server-front-dev/wppconnect-front/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:14.17-alpine3.13

ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true

WORKDIR /home/node/app
COPY ./app .

Expand Down
2 changes: 2 additions & 0 deletions docker-server-front-dev/wppconnect-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:14.17-alpine3.13

ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true

WORKDIR /home/node/app
COPY ./app .

Expand Down
1 change: 1 addition & 0 deletions docker-server-front/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ services:

networks:
wpp-network:
name: wpp-network
driver: bridge
1 change: 1 addition & 0 deletions docker-server-front/wppconnect-front/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ COPY ./config.js /home/node/app/public
RUN yarn install

FROM node:14.17-alpine3.13
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
WORKDIR /home/node/app
RUN apk add chromium
COPY --from=builder /home/node/app/ .
Expand Down
1 change: 1 addition & 0 deletions docker-server-front/wppconnect-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ COPY ./config.json /home/node/app/src
RUN yarn install

FROM node:14.17-alpine3.13
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
WORKDIR /home/node/app
RUN apk add chromium
COPY --from=builder /home/node/app/ .
Expand Down
Loading

0 comments on commit 3d2087b

Please sign in to comment.