-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
48 lines (41 loc) · 1.06 KB
/
docker-compose.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
version: "3.7"
services:
api:
build: API
environment:
- PORT=5000
ports:
- 5000:5000
volumes:
- ./logs/:/app/logs/
depends_on:
- redis
orion:
image: fiware/orion
depends_on:
- mongo
ports:
- "1026:1026"
command: -dbhost mongo -insecureNotif
mongo:
image: mongo:3.6
command: --nojournal
redis:
image: redis
ports:
- "6379:6379"
volumes:
- ./redis:/data
influxdb:
image: influxdb:2.0
ports:
- "8086:8086"
volumes:
- ./influxdb2:/var/lib/influxdb2
environment:
- DOCKER_INFLUXDB_INIT_MODE=${DOCKER_INFLUXDB_INIT_MODE}
- DOCKER_INFLUXDB_INIT_USERNAME=${DOCKER_INFLUXDB_INIT_USERNAME}
- DOCKER_INFLUXDB_INIT_PASSWORD=${DOCKER_INFLUXDB_INIT_PASSWORD}
- DOCKER_INFLUXDB_INIT_ORG=${DOCKER_INFLUXDB_INIT_ORG}
- DOCKER_INFLUXDB_INIT_BUCKET=${DOCKER_INFLUXDB_INIT_BUCKET}
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=${DOCKER_INFLUXDB_INIT_ADMIN_TOKEN}