2017-01-24 02:44:16 +01:00
|
|
|
version: "3"
|
2016-01-29 00:57:37 +01:00
|
|
|
|
2016-01-25 19:20:23 +01:00
|
|
|
services:
|
2016-06-18 18:14:28 +02:00
|
|
|
vote:
|
2020-04-24 13:39:21 +02:00
|
|
|
image: tormachris/cloudnet-vote
|
2016-01-25 19:20:23 +01:00
|
|
|
ports:
|
|
|
|
- "5000:80"
|
2016-10-12 01:24:49 +02:00
|
|
|
networks:
|
|
|
|
- front-tier
|
|
|
|
- back-tier
|
2015-11-15 20:59:29 +01:00
|
|
|
|
2016-06-18 18:14:28 +02:00
|
|
|
result:
|
2020-04-24 13:39:21 +02:00
|
|
|
image: tormachris/cloudnet-result
|
2016-06-18 19:04:44 +02:00
|
|
|
ports:
|
|
|
|
- "5001:80"
|
|
|
|
- "5858:5858"
|
2016-10-12 01:24:49 +02:00
|
|
|
networks:
|
|
|
|
- front-tier
|
|
|
|
- back-tier
|
|
|
|
|
|
|
|
worker:
|
2020-04-24 13:39:21 +02:00
|
|
|
image: tormachris/cloudnet-worker
|
2017-10-01 13:36:10 +02:00
|
|
|
depends_on:
|
|
|
|
- "redis"
|
2019-08-25 22:50:48 +02:00
|
|
|
- "db"
|
2016-10-12 01:24:49 +02:00
|
|
|
networks:
|
|
|
|
- back-tier
|
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis:alpine
|
|
|
|
container_name: redis
|
|
|
|
ports: ["6379"]
|
|
|
|
networks:
|
|
|
|
- back-tier
|
|
|
|
|
|
|
|
db:
|
|
|
|
image: postgres:9.4
|
|
|
|
container_name: db
|
2020-02-16 05:45:28 +01:00
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "postgres"
|
|
|
|
POSTGRES_PASSWORD: "postgres"
|
2016-10-12 01:24:49 +02:00
|
|
|
volumes:
|
|
|
|
- "db-data:/var/lib/postgresql/data"
|
|
|
|
networks:
|
|
|
|
- back-tier
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
db-data:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
front-tier:
|
2020-02-16 05:45:28 +01:00
|
|
|
back-tier:
|