mirror of
https://github.com/cupcakearmy/obolus.git
synced 2024-12-22 08:06:30 +00:00
docker dev environment
This commit is contained in:
parent
cc4495802b
commit
8c6d117e72
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
@ -0,0 +1,22 @@
|
||||
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:
|
||||
- 5000:80
|
||||
|
||||
www:
|
||||
<<: *default
|
||||
volumes:
|
||||
- ./www:/app
|
||||
ports:
|
||||
- 80:80
|
Loading…
Reference in New Issue
Block a user