Files
plexus/docker-compose.yml

31 lines
462 B
YAML

services:
api:
build: ./server
ports:
- "3000:3000"
volumes:
- ./data:/app/data
- ./server:/app
environment:
- PORT=3000
env_file:
- .env
client:
build: ./client
ports:
- "8080:80"
depends_on:
- api
volumes:
- ./client:/app
dev-shell:
build:
context: .
dockerfile: Dockerfile.dev
volumes:
- .:/app
environment:
- NODE_ENV=development