-
Notifications
You must be signed in to change notification settings - Fork 29
/
docker-compose.yml
68 lines (66 loc) · 2.07 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
#
# Copyright 2016 Telefonica Investigación y Desarrollo, S.A.U
#
# This file is part of perseo-fe
#
# perseo-fe is free software: you can redistribute it and/or modify it under the terms of the GNU Affero
# General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
# perseo-fe is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
# for more details.
#
# You should have received a copy of the GNU Affero General Public License along with perseo-fe. If not, see
# http://www.gnu.org/licenses/.
#
# For those usages not covered by the GNU Affero General Public License please contact with iot_support at tid dot es
#
version: '3.4'
services:
perseo-mongo:
image: mongo:4.2
volumes:
- ./mongodata:/data/db
networks:
- perseo
deploy:
replicas: 1
restart_policy:
condition: on-failure
perseo-core:
image: fiware/perseo-core
environment:
- PERSEO_FE_URL=http://perseo-fe:9090
- MAX_AGE=6000
networks:
- perseo
depends_on:
- perseo-mongo
deploy:
replicas: 1
restart_policy:
condition: on-failure
perseo-fe:
image: fiware/perseo
networks:
perseo:
main:
ports:
- 9090:9090
depends_on:
- perseo-core
environment:
- PERSEO_MONGO_ENDPOINT=perseo-mongo
- PERSEO_CORE_URL=http://perseo-core:8080
- PERSEO_LOG_LEVEL=debug
- PERSEO_ORION_URL=http://orion:1026/
- PERSEO_SMTP_HOST=www.hostname.com
- PERSEO_SMTP_PORT=25
- PERSEO_SMTP_SECURE=false
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
perseo:
main: