Files
workspace/docker-compose.yml

41 lines
695 B
YAML

version: '3.8'
services:
whatsapp-crm:
build:
context: ./apps/whatsapp-crm
dockerfile: Dockerfile
ports:
- "3000:3000"
volumes:
- crm-data:/app/data
environment:
- NODE_ENV=production
depends_on:
- whatsapp-sync
whatsapp-sync:
build:
context: ./apps/whatsapp-sync
dockerfile: Dockerfile
volumes:
- ./data:/app/data
- sync-session:/app/.wwebjs_auth
environment:
- NODE_ENV=production
profiles:
- sync
test-runner:
build:
context: .
dockerfile: Dockerfile.test
volumes:
- ./apps:/app/apps
profiles:
- test
volumes:
crm-data:
sync-session: