obolus/docker-compose.yml

22 lines
299 B
YAML
Raw Permalink Normal View History

2019-05-23 11:25:45 +00:00
version: '3.6'
x-defaults: &default
image: node:12-alpine
restart: always
working_dir: /app
command: npm run dev
services:
api:
<<: *default
volumes:
- ./api:/app
ports:
2019-05-23 14:55:33 +00:00
- 5000:5000
2019-05-23 11:25:45 +00:00
www:
<<: *default
volumes:
- ./www:/app
ports:
- 80:80