forked from cfpb/consumerfinance.gov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (59 loc) · 1.45 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
version: "3.4"
volumes:
postgres_data:
services:
elasticsearch:
build:
context: ./
dockerfile: ./docker/elasticsearch/Dockerfile
ports:
- "9200:9200"
- "9300:9300"
postgres:
image: postgres:10.3
restart: always
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
POSTGRES_USER: cfpb
POSTGRES_PASSWORD: cfpb
POSTGRES_DB: cfgov
python2:
build:
context: .
dockerfile: Dockerfile
args:
scl_python_version: python27
depends_on:
- elasticsearch
- postgres
stdin_open: true
tty: true
python3:
build:
context: .
dockerfile: Dockerfile
args:
scl_python_version: rh-python36
depends_on:
- elasticsearch
- 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/cfgov-refresh
entrypoint:
- sh
- /src/cfgov-refresh/docker/docs/entrypoint.sh
working_dir: /src/cfgov-refresh
stdin_open: true
tty: true