-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.dev.yaml
67 lines (60 loc) · 1.39 KB
/
docker-compose.dev.yaml
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
version: "3.4"
services:
os-data-importers:
build: '.'
depends_on:
- redis
- es
- db
environment:
OS_DPP_DISABLE_PIPELINES: 'False'
DPP_BASE_PATH: "/"
# DPP_BASIC_AUTH_USERNAME: openspending
# DPP_BASIC_AUTH_PASSWORD: letmein
DPP_DB_ENGINE: postgresql://postgres@db/postgres
ELASTICSEARCH_ADDRESS: es:9200
OS_ELASTICSEARCH_ADDRESS: es:9200
OS_API_CACHE: redis
DPP_REDIS_HOST: redis
ports:
- "5000:5000"
volumes:
- source-specs:/app/source-specs
repository-agent:
image: 'openspending/repository-agent:ddd5473'
depends_on:
- redis
environment:
REPO_AGENT_CLEAN_ON_UPDATE: 'False'
REPO_AGENT_BASE_DIR: /app/source-specs
REPO_AGENT_UPDATE_FREQUENCY: 60
REPO_AGENT_BROKER: redis://redis:6379/11
REPO_AGENT_REPOS: https://github.com/openspending/os-source-specs#simple
volumes:
- source-specs:/app/source-specs
redis:
image: 'redis:3.2-alpine'
expose:
- 6379
# ports:
# - "6379:6379"
es:
image: bitnami/elasticsearch:5.6.4
expose:
- 9200
- 9300
# ports:
# - "9200:9200"
db:
image: 'postgres:10-alpine'
expose:
- 5432
# ports:
# - "5432:5432"
volumes:
source-specs:
driver: local
driver_opts:
type: none
o: bind
device: "${PWD}/source-specs"