Merge pull request #8 from smokes2345/patch-1

Added docker-compose.yaml
This commit is contained in:
Chris Miles 2018-03-22 19:11:07 -05:00 committed by GitHub
commit b5dc24ff7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

21
docker-compose.yaml Normal file
View File

@ -0,0 +1,21 @@
version: "2"
services:
isc-dhcp:
image: "networkboot/dhcpd"
network_mode: host
volumes:
- /srv/dhcp/:/data/
glass:
image: "node:8"
working_dir: /home/node/app
environment:
- NODE_ENV=production
volumes:
- .:/home/node/app
- /srv/dhcp:/var/lib/dhcp
- /srv/dhcp/dhcpd.conf:/etc/dhcp/dhcpd.conf
- /srv/dhcp/
ports:
- "8080:8080"
- "3000:3000"
command: "/bin/sh -c 'npm install && npm start'"