venmjs
Version:
This is a tool 🔧 that can be installed in your terminal at any time ⛏️ it was made for beginners and even for experts, for his utilities, and for a simple creation process 🧨. Every web developer knows how frustrating is to deal with the creation of a ne
28 lines (26 loc) • 512 B
YAML
version: '3'
services:
vue-client:
build: ./client
command: bash -c "npm install && npm run serve"
volumes:
- /app/node_modules
- ./client:/app
ports:
- "8080:8080"
node-server:
build: ./server
command: bash -c "npm install && npm run serve"
volumes:
- /app/node_modules
- ./server:/app
ports:
- "9000:9000"
depends_on:
- mongo
mongo:
image: mongo
volumes:
- ./tmp/data:/data/db
ports:
- "27017:27017"