added REST API and simple unit test - and compose starter, still WIP for integ test

This commit is contained in:
josebarn
2017-08-15 21:14:14 -03:00
parent bd8a3f2ddd
commit 5e945440d0
58 changed files with 9040 additions and 25 deletions

30
docker-compose.yml Normal file
View File

@@ -0,0 +1,30 @@
version: '2'
services:
redis:
container_name: "redis"
image: "redis"
ports:
- "6379:6379"
networks:
- testnet
restart: unless-stopped
app:
container_name: "hello"
depends_on:
- db
build:
context: .
dockerfile: ./docker/Dockerfile
ports:
- "3000:3000"
networks:
- testnet
restart: unless-stopped
networks:
testnet:
driver: bridge