-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
134 lines (117 loc) · 3.26 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
version: "2"
services:
budgetkey-postgres:
image: budgetkey/budgetkey-postgres:latest
ports:
- 5432:5432
volumes:
# /mnt/budgetkey-persistent-data/db
- postgresql-data-db:/var/lib/postgresql/data/db
environment:
- POSTGRES_DB=budgetkey
- POSTGRES_USER=budgetkey
- POSTGRES_PASSWORD=123456
- PGDATA=/var/lib/postgresql/data/db
- PG_VERSION=9.6.2
open-budget-elasticsearch:
image: budgetkey/open-budget-elasticsearch:latest
ports:
- 9200:9200
- 9300:9300
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
environment:
- ELASTICSEARCH_ANALYSIS_HEBREW_VERSION=5.3.0
- ES_JAVA_OPTS=-Xms1g -Xmx1g
- xpack.security.enabled=false
open-budget-data-api:
image: budgetkey/open-budget-data-api:latest
depends_on:
- budgetkey-postgres
environment:
- DATABASE_URL=postgresql://budgetkey:123456@budgetkey-postgres/budgetkey
- DB_DB=obudget
- DB_HOST=budgetkey-postgres
- DB_PORT=5432
- DB_PWD=123456
- DB_USER=budgetkey
# - SERVER_NAME=next.obudget.org
open-budget-search-api:
image: budgetkey/open-budget-search-api:latest
depends_on:
- budgetkey-postgres
- open-budget-elasticsearch
environment:
- DB_DB=obudget
- DB_HOST=budgetkey-postgres
- DB_PORT=5432
- DB_PWD=123456
- DB_USER=budgetkey
- ES_HOST=open-budget-elasticsearch
- ES_PORT=9200
- INDEX_NAME=budgetkey
budgetkey-data-pipelines:
image: budgetkey/budgetkey-data-pipelines:latest
volumes:
- fonts:/var/_fonts
- datapackages:/var/datapackages
# /mnt/budgetkey-persistent-data/redis
- pipelines-redis:/var/redis
# /mnt/budgetkey-persistent-data/.ssh
- dpp-ssh:/home/dpp/.ssh
environment:
- BUDGETKEY_OLD_DB=
- DATABASE_URL=postgresql://budgetkey:123456@budgetkey-postgres/budgetkey
- DPP_DB_ENGINE=postgresql://budgetkey:123456@budgetkey-postgres/budgetkey
- DPP_ELASTICSEARCH=open-budget-elasticsearch:9200
- GITHUB_AUTH_TOKEN=
- DPP_REDIS_HOST=localhost
budgetkey-app-main-page:
image: budgetkey/budgetkey-app-main-page:feature-main_page
budgetkey-app-generic-item:
image: budgetkey/budgetkey-app-generic-item:latest
environment:
- BASE_PATH=/i/
volumes:
# - '/mnt/budgetkey-persistent-data/themes:/themes'
- themes:/themes
budgetkey-app-search:
image: budgetkey/budgetkey-app-search:latest
environment:
- BASE_PATH=/s/
volumes:
# - '/mnt/budgetkey-persistent-data/themes:/themes'
- themes:/themes
kibana:
image: kibana:5.3
open-budget-nginx-frontend:
build: .
image: budgetkey/open-budget-nginx-frontend:latest
depends_on:
- open-budget-search-api
- open-budget-data-api
- budgetkey-app-search
- budgetkey-app-generic-item
- budgetkey-data-pipelines
- budgetkey-app-main-page
ports:
- 80:80
- 5601:5601
volumes:
- fonts:/var/_fonts
- datapackages:/var/datapackages
open-procure:
image: 'budgetkey/open-procure:latest'
volumes:
- themes:/themes
openprocure-app-main-page:
image: 'budgetkey/openprocure-app-main-page:latest'
restart: always
volumes:
postgresql-data-db:
elasticsearch-data:
pipelines-redis:
dpp-ssh:
fonts:
datapackages:
themes: