forked from acrewdson/cfgov-refresh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
35 lines (34 loc) · 866 Bytes
/
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
version: "3.3"
services:
elasticsearch:
build:
context: ./
dockerfile: ./docker/elasticsearch/Dockerfile
ports:
- "9200:9200"
- "9300:9300"
postgres:
image: postgres:10.3
restart: always
environment:
POSTGRES_USER: cfpb
POSTGRES_PASSWORD: cfpb
POSTGRES_DB: cfgov
python:
build: .
ports:
- "8000:8000"
environment:
ES_HOST: elasticsearch
volumes:
- ./:/src/cfgov-refresh
- ./develop-apps:/src/develop-apps
entrypoint:
- sh
- /src/cfgov-refresh/cfgov/entrypoint.sh
depends_on:
- elasticsearch
- postgres
working_dir: /src/cfgov-refresh
stdin_open: true
tty: true