File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change 1
1
version : ' 3'
2
2
services :
3
- db :
4
- image : postgres:11.5-alpine
5
- container_name : db
6
- hostname : db
7
- ports :
8
- - ' 127.0.0.1:5432:5432'
9
- healthcheck :
10
- test : ["CMD", "pg_isready", "-U", "postgres"]
11
- interval : 1s
12
- environment :
13
- POSTGRESQL_ROOT_PASSWORD : dbrootpassword
14
- volumes :
15
- # Will use db volume and inside to path /var/lib/mysql
16
- - db:/var/lib/postgresql/data
17
- networks :
18
- - dbs
19
- elasticsearch :
20
- image : hypothesis/elasticsearch:latest
21
- ports :
22
- - ' 127.0.0.1:9200:9200'
23
- environment :
24
- - discovery.type=single-node
25
- networks :
26
- - elasticsearch
27
3
rabbit :
28
4
image : rabbitmq:3.6-management-alpine
29
5
ports :
30
6
- ' 127.0.0.1:5672:5672'
31
7
- ' 127.0.0.1:15672:15672'
32
8
33
- volumes :
34
- # Creates persistent storage volume for database
35
- # Specify name so it does not append stack name in front
36
- db :
37
- name : db
38
9
networks :
39
10
# This external network allows FDW connections between H, LMS and report DBs.
40
11
# To avoid having unnecessary dependencies between the projects
You can’t perform that action at this time.
0 commit comments