-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
75 lines (64 loc) · 2.27 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
version: "3"
services:
nginx:
restart: always
image: nginx:latest
ports:
- 80:80
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- wirecloud-static:/var/www/static:ro
depends_on:
- wirecloud
postgres:
restart: always
image: postgres:latest
environment:
- POSTGRES_PASSWORD=wirepass # Change this password!
volumes:
- postgres-data:/var/lib/postgresql/data
elasticsearch:
restart: always
image: elasticsearch:2.4
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
command: elasticsearch -Des.index.max_result_window=50000
memcached:
restart: always
image: memcached:1
command: memcached -m 2048m
wirecloud:
restart: always
image: fiware/wirecloud:1.3
depends_on:
- postgres
- elasticsearch
- memcached
environment:
- DEBUG=False
- LOGLEVEL=INFO
# - DEFAULT_THEME=wirecloud.defaulttheme
- DB_HOST=postgres
- DB_PASSWORD=wirepass # Change this password!
- FORWARDED_ALLOW_IPS=*
- ELASTICSEARCH2_URL=http://elasticsearch:9200/
- MEMCACHED_LOCATION=memcached:11211
# Uncomment the following environment variables to enable FIWARE IDM integration
#- FIWARE_IDM_SERVER=${FIWARE_IDM_SERVER}
#- SOCIAL_AUTH_FIWARE_KEY=${SOCIAL_AUTH_FIWARE_KEY}
#- SOCIAL_AUTH_FIWARE_SECRET=${SOCIAL_AUTH_FIWARE_SECRET}
# Uncomment the following environment variables to enable Keycloak IDM Integration
#- KEYCLOAK_IDM_SERVER=${KEYCLOAK_IDM_SERVER}
#- KEYCLOAK_REALM=${KEYCLOAK_REALM}
#- KEYCLOAK_KEY=${KEYCLOAK_KEY}
#- KEYCLOAK_GLOBAL_ROLE=${KEYCLOAK_GLOBAL_ROLE}
#- SOCIAL_AUTH_KEYCLOAK_KEY=${SOCIAL_AUTH_KEYCLOAK_KEY}
#- SOCIAL_AUTH_KEYCLOAK_SECRET=${SOCIAL_AUTH_KEYCLOAK_SECRET}
volumes:
- wirecloud-data:/opt/wirecloud_instance/data
- wirecloud-static:/var/www/static
volumes:
elasticsearch-data:
postgres-data:
wirecloud-data:
wirecloud-static: