-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (50 loc) · 1.4 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
version: "3.8"
services:
cratedb-raw:
image: crate:latest
container_name: "cratedb-raw"
ports:
- "4200:4200"
- "5432:5432"
volumes:
- ./cratedb-raw:/data
restart: unless-stopped
command: [ "crate", "-Cnode.store.allow_mmap=false" ]
deploy:
replicas: 1
restart_policy:
condition: on-failure
environment:
CRATE_HEAP_SIZE: 2g
networks:
- internal
grafana:
image: grafana/grafana-oss:latest
container_name: "grafana"
ports:
- "3000:3000"
restart: unless-stopped
user: '1000'
environment:
- GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource
networks:
- internal
volttron1:
container_name: volttron1
hostname: volttron1
image: eclipsevolttron/volttron:v3.0
ports:
- 8443:8443 # http port for volttron central and binded web address
volumes:
- ./volttron_setup/platform_config.yml:/platform_config.yml # platform config for Volttron
- ./volttron-docker/configs:/home/volttron/configs # configs for agents (default directory)
- ./volttron1-volume:/home/volttron/db # volttron db (default directory)
- ./:/home/volttron/workspace # our workspace for developing agents
environment:
- CONFIG=/home/volttron/configs
- LOCAL_USER_ID=1000
networks:
- internal
networks:
internal:
name: internal