This repository has been archived by the owner on Jun 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
63 lines (59 loc) · 1.58 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
version: '3.0'
services:
database:
# build: ./postgres
image: amsterdam/postgres11
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: insecure
POSTGRES_USER: parkeerscans
POSTGRES_DB: parkeerscans
LOCAL: 'yes'
volumes:
- ~/.ssh/datapunt.key:/root/.ssh/datapunt.key
elasticsearch:
image: amsterdam/elasticsearch6
command: elasticsearch -Ehttp.host=0.0.0.0 -Etransport.host=127.0.0.1
ports:
- "9200:9200"
- "9300:9300"
#volumes:
# - ~/elk_okt:/tmp/backup
# - ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
ppapi:
build: ./api
image: ${DOCKER_REGISTRY_HOST}/datapunt/parkeerscans:${ENVIRONMENT:-latest}
ports:
- "8080:8080"
links:
- database:database
- elasticsearch:elasticsearch
environment:
DATABASE_NAME: parkeerscans
DATABASE_PASSWORD: insecure
UWSGI_HTTP: ":8080"
UWSGI_MODULE: "predictive_parking.wsgi:application"
UWSGI_MASTER: 1
UWSGI_STATIC_MAP: "/static=/static"
UWSGI_PROCESSES: 4
UWSGI_VACUUM: 1
UWSGI_HARAKIRI: 45
UWSGI_DIE_ON_TERM: 1
kibana:
build: ./kibana
ports:
- "5601:5601"
links:
- elasticsearch:elasticsearch
command: kibana
csvimporter:
image: ${DOCKER_REGISTRY_HOST}/datapunt/parkeerscans_csvpgvoer:${ENVIRONMENT:-latest}
build: ./csvimporter/
links:
- database:database
environment:
DATABASE_NAME: parkeerscans
DATABASE_PASSWORD: insecure
volumes:
- ./unzipped:/app/unzipped