Skip to content

Commit 20d58e9

Browse files
committed
add elasticsearch config/docker
1 parent 7677a26 commit 20d58e9

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

dev/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ configurator:
55
database:
66
url: "postgresql://postgres@db/warehouse"
77

8+
elasticsearch:
9+
url: "http://elasticsearch:9200"
10+
811
download_stats:
912
url: "redis://redis:6379/1"
1013

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ db:
44
redis:
55
image: redis:latest
66

7+
elasticsearch:
8+
image: elasticsearch
9+
710
camo:
811
build: dev/camo
912
command: node server.js
@@ -23,5 +26,6 @@ web:
2326
links:
2427
- db
2528
- redis
29+
- elasticsearch
2630
environment:
2731
PYTHONUNBUFFERED: 1

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
"pyramid_tm>=0.11",
8686
"readme>=0.5.1",
8787
"redis",
88+
"elasticsearch",
8889
"setproctitle",
8990
"sqlalchemy>=0.9",
9091
"sqlalchemy-citext",

0 commit comments

Comments
 (0)