DockerRestApi/docker-compose.yml

16 lines
247 B
YAML
Raw Normal View History

2019-09-19 18:31:33 +00:00
version: '3'
networks:
proxy:
external:
name: proxy
2019-09-19 18:31:33 +00:00
services:
2019-09-24 10:17:15 +00:00
dockerrest:
container_name: dockerrest
2019-09-19 18:31:33 +00:00
build: .
2019-09-19 18:35:52 +00:00
volumes:
2019-09-19 18:38:53 +00:00
- /var/run/docker.sock:/var/run/docker.sock
2019-09-24 10:15:10 +00:00
command: npm start
networks:
- proxy