Move everything into the root directory

The separate vote-apps directory was because networking didn't
used to support aliases to remove the project name.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
Ben Firshman
2016-01-25 18:23:19 +00:00
parent 94c0d7b507
commit 878cdeb583
18 changed files with 1 additions and 2 deletions

36
docker-compose.yml Normal file
View File

@@ -0,0 +1,36 @@
version: "2"
services:
voting-app:
build: ./voting-app/.
volumes:
- ./voting-app:/app
ports:
- "5000:80"
links:
- redis
redis:
image: redis
ports: ["6379"]
worker:
build: ./worker
links:
- db
- redis
db:
image: postgres:9.4
volumes:
- "myvolume:/var/lib/postgresql/data"
result-app:
build: ./result-app/.
volumes:
- ./result-app:/app
ports:
- "5001:80"
links:
- db
volumes:
myvolume: