forked from EVerest/everest-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.build.yml
51 lines (46 loc) · 1.11 KB
/
docker-compose.build.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
version: "3.6"
services:
mqtt-server:
image: ghcr.io/everest/everest-demo/mqtt-server:${TAG}
build: mosquitto
platform: linux/x86_64
logging:
driver: none
manager:
image: ghcr.io/everest/everest-demo/manager:${TAG}
build: manager
platform: linux/x86_64
depends_on:
- mqtt-server
environment:
- MQTT_SERVER_ADDRESS=mqtt-server
entrypoint: "sh /ext/source/build/run-scripts/run-sil-ocpp.sh"
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
ocpp-db:
image: mariadb:10.4.30
command: [ "--datadir", "/var/lib/mysql-no-volume" ]
ports:
- 13306:3306
environment:
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
MYSQL_DATABASE: ocpp-db
MYSQL_USER: ocpp
MYSQL_PASSWORD: ocpp
steve:
build: steve
ports:
- 8180:8180
- 8443:8443
depends_on:
- ocpp-db
nodered:
build: nodered
image: ghcr.io/everest/everest-demo/nodered:${TAG}
depends_on:
- mqtt-server
ports:
- 1880:1880
environment:
- MQTT_SERVER_ADDRESS=mqtt-server
- FLOWS=/config/config-sil-two-evse-flow.json