-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.dev.yml
48 lines (48 loc) · 1.02 KB
/
docker-compose.dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -*- coding: utf-8 -*-
#
# Copyright (C) 2019 Open Education Polito.
#
# fare is free software; you can redistribute it and/or modify it under the
# terms of the MIT License; see LICENSE file for more details.
#
# Backend services for needed for development.
#
# Usage::
#
# $ docker-compose up -d
# $ ./docker/wait-for-services.sh
#
# Following services are included:
# - Cache: Redis (exposed port: 6379)
# - DB: (PostgresSQL/MySQL) (exposed port: 5432 or 3306)
# - Message queue: RabbitMQ (exposed ports: 5672, 15672)
# - Elasticsearch (exposed ports: 9200, 9300)
#
version: '2.3'
services:
cache:
extends:
file: docker-services.yml
service: cache
ports:
- "6379:6379"
db:
extends:
file: docker-services.yml
service: db
ports:
- "5432:5432"
mq:
extends:
file: docker-services.yml
service: mq
ports:
- "15672:15672"
- "5672:5672"
es:
extends:
file: docker-services.yml
service: es
ports:
- "9200:9200"
- "9300:9300"