cloudnet-compose/docker-compose-simple.yml

33 lines
485 B
YAML
Raw Normal View History

2017-01-24 02:44:16 +01:00
version: "3"
services:
vote:
build: ./vote
command: python app.py
volumes:
- ./vote:/app
ports:
- "5000:80"
redis:
image: redis:alpine
ports: ["6379"]
worker:
build: ./worker
db:
image: postgres:9.4
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
result:
build: ./result
2017-11-29 19:43:31 +01:00
command: nodemon server.js
volumes:
- ./result:/app
ports:
- "5001:80"
- "5858:5858"