forked from cfpb/consumerfinance.gov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
74 lines (70 loc) · 1.72 KB
/
docker-compose.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: "3.4"
volumes:
postgres_data:
services:
elasticsearch:
build:
context: ./
dockerfile: ./docker/elasticsearch/Dockerfile
ports:
- "9200:9200"
- "9300:9300"
elasticsearch7:
image: elasticsearch:7.4.2
ports:
- "9000:9200"
- "9100:9300"
environment:
discovery.type: single-node
kibana:
image: kibana:7.4.2
depends_on:
- elasticsearch7
ports:
- "5601:5601"
environment:
ELASTICSEARCH_HOSTS: http://elasticsearch7:9200
postgres:
image: postgres:10.3
restart: always
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
POSTGRES_USER: cfpb
POSTGRES_PASSWORD: cfpb
POSTGRES_DB: cfgov
ports:
- "5432:5432"
python:
build:
context: .
dockerfile: Dockerfile
args:
scl_python_version: rh-python36
depends_on:
- elasticsearch
- elasticsearch7
- postgres
stdin_open: true
tty: true
docs:
build:
context: ./
dockerfile: ./docker/docs/Dockerfile
ports:
- "8888:8888"
environment:
LANG: en_US.utf8
LC_ALL: en_US.utf8
volumes:
- ./:/src/consumerfinance.gov
entrypoint:
- sh
- /src/consumerfinance.gov/docker/docs/entrypoint.sh
working_dir: /src/consumerfinance.gov
stdin_open: true
tty: true
networks:
default:
external:
name: cfgov