Adding current deploy configuration

This commit is contained in:
Matias committed 2019-04-28 10:01:57 -03:00
1 parent 39c3726981
commit 3c4d5eda5b
5 files changed
+107

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
version: '3'
services:
node:
image: masterappapi-dev:v1
build:
context: .
dockerfile: ./Dockerfile.prod
env_file: ./.env
container_name: masterappapi
tty: true
stdin_open: true
volumes:
- ./:/var/www/app
- /var/www/app/node_modules
working_dir: /var/www/app
restart: always
command: npm start
expose:
- 4100
network_mode: webproxy
networks:
default:
external:
name: webproxy