Merge branch 'dev' of https://git.verdnatura.es/salix into dev

This commit is contained in:
Joan Sanchez 2017-11-28 08:45:16 +01:00
commit ffde93614a
3 changed files with 30 additions and 5 deletions

View File

@ -76,7 +76,18 @@ services:
- "3005"
ports:
- "3005:3005"
print:
environment:
- NODE_ENV=${NODE_ENV}
container_name: "${BRANCH_NAME}-print"
image: "print:${TAG}"
build:
context: ./services
dockerfile: /print/Dockerfile
expose:
- "3006"
ports:
- "3006:3006"
nginx:
container_name: "${BRANCH_NAME}-nginx"
image: "nginx:${TAG}"
@ -95,3 +106,4 @@ services:
- "mailer:${BRANCH_NAME}-mailer"
- "production:${BRANCH_NAME}-production"
- "route:${BRANCH_NAME}-route"
- "print:${BRANCH_NAME}-print"

13
services/print/Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM node:6.9.1
COPY . /app
WORKDIR /app
RUN npm install
RUN npm -g install pm2
CMD ["pm2-docker", "./server/server.js"]
EXPOSE 3006