Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
166 lines (165 sloc) 3.96 KB
version: "3.2"
services:
zookeeper:
image: confluentinc/cp-zookeeper:latest
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
timescaledb:
image: timescale/timescaledb:latest-pg11
restart: unless-stopped
environment:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
grafana:
hostname: grafana
image: grafana/grafana:6.1.3
expose:
- 3000
ports:
- 3000:3000
kafka:
image: confluentinc/cp-kafka:latest
depends_on:
- zookeeper
restart: unless-stopped
ports:
- 9092:9092
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:29092,PLAINTEXT_HOST://localhost:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
mqtt-bridge:
image: quay.io/infinimesh/mqtt-bridge:latest
ports:
- "8089:8089"
volumes:
- $PWD/hack/server.crt:/cert/tls.crt
- $PWD/hack/server.key:/cert/tls.key
environment:
- KAFKA_HOST=kafka:29092
- DEVICE_REGISTRY_URL=device-registry:8080
depends_on:
- kafka
restart: unless-stopped
telemetry-router:
image: quay.io/infinimesh/telemetry-router:latest
environment:
- KAFKA_HOST=kafka:29092
depends_on:
- kafka
restart: unless-stopped
device-registry:
image: quay.io/infinimesh/device-registry:latest
ports:
- "8070:8080"
environment:
- DGRAPH_HOST=server:9080
restart: unless-stopped
shadow-delta-merger:
image: quay.io/infinimesh/shadow-delta-merger:latest
depends_on:
- kafka
environment:
- KAFKA_HOST=kafka:29092
restart: unless-stopped
shadow-api:
image: quay.io/infinimesh/shadow-api:latest
ports:
- "8096:8096"
depends_on:
- kafka
environment:
- KAFKA_HOST=kafka:29092
- "DB_ADDR=redis:6379"
restart: unless-stopped
shadow-persister:
image: quay.io/infinimesh/shadow-persister:latest
depends_on:
- kafka
environment:
- KAFKA_HOST=kafka:29092
- "DB_ADDR=redis:6379"
restart: unless-stopped
frontend:
ports:
- "8082:80"
image: quay.io/infinimesh/frontend:latest
environment:
- "APISERVER_URL=http://localhost:8081"
apiserver:
ports:
- "8080:8080"
image: quay.io/infinimesh/apiserver:latest
environment:
- JWT_SIGNING_KEY=c3VwZXIgc2VjcmV0IGtleQo=
depends_on:
- device-registry
- shadow-api
- nodeserver
restart: unless-stopped
apiserver-rest:
image: quay.io/infinimesh/apiserver-rest:latest
environment:
- APISERVER_ENDPOINT=apiserver:8080
ports:
- "8081:8081"
depends_on:
- apiserver
restart: unless-stopped
nodeserver:
image: quay.io/infinimesh/nodeserver:latest
restart: unless-stopped
depends_on:
- server
environment:
- DGRAPH_HOST=server:9080
# dgraph
zero:
image: dgraph/dgraph:v1.0.12-rc5
volumes:
- type: volume
source: dgraph
target: /dgraph
volume:
nocopy: true
ports:
- 5080:5080
- 6080:6080
restart: on-failure
command: dgraph zero --my=zero:5080
server:
image: dgraph/dgraph:v1.0.12-rc5
volumes:
- type: volume
source: dgraph
target: /dgraph
volume:
nocopy: true
ports:
- 8084:8080
- 9080:9080
restart: on-failure
command: dgraph alpha --my=server:7080 --lru_mb=2048 --zero=zero:5080
ratel:
image: dgraph/dgraph:v1.0.12-rc5
volumes:
- type: volume
source: dgraph
target: /dgraph
volume:
nocopy: true
ports:
- 8000:8000
command: dgraph-ratel
redis:
image: redis:latest
command: ["redis-server", "--appendonly", "yes"]
ports:
- "6379:6379"
volumes:
dgraph:
You can’t perform that action at this time.