-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-local.yml
More file actions
60 lines (58 loc) · 1.69 KB
/
docker-compose-local.yml
File metadata and controls
60 lines (58 loc) · 1.69 KB
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
version: "3.0"
#This file combines all the edge services and our services so that it can be deployed as a unit
services:
opcua-simulator:
image: "predixedge/predix-edge-opcua-simulator:1.0.10"
hostname: "opcua-simulator"
volumes:
- ./config:/config
networks:
- predix-edge-broker_net
ports:
- 4334:4334
#entrypoint: ["sh", "-c", "sleep 500000"]
opcua:
image: "dtr.predix.io/predix-edge/protocol-adapter-opcua:amd64-1.1.0"
environment:
config: "/config/config-opcua.json"
volumes:
- ./config:/config
- ./data:/data
networks:
- predix-edge-broker_net
cloud_gateway:
image: "dtr.predix.io/predix-edge/cloud-gateway:amd64-1.1.0"
environment:
config: "/config/config-cloud-gateway.json"
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
HTTP_PROXY: ${HTTP_PROXY}
HTTPS_PROXY: ${HTTP_PROXY}
no_proxy: ${no_proxy}
volumes:
- ./config:/config
- ./data:/data
- ./data:/edge-agent
networks:
- predix-edge-broker_net
java-edge-app:
image: "predixedge/predix-edge-sample-scaler-java:1.0.45"
deploy:
resources:
limits:
cpus: "0.1"
memory: 39M
environment:
PUB_CLIENT_ID: "JavaSampleAppPubClient"
SUB_CLIENT_ID: "JavaSampleAppSubClient"
BROKER: "tcp://predix-edge-broker:1883"
SUB_TOPIC: "app_data"
PUB_TOPIC: "timeseries_data"
#TAG_NAME: "Compressor-CMMS-Compressor-2018.crank-frame-dischargepressure"
JAVA_OPTS: "-XX:+UseContainerSupport"
networks:
- predix-edge-broker_net
#entrypoint: ["sh", "-c", "sleep 500000"]
networks:
predix-edge-broker_net:
external: true