removed redundant links

This commit is contained in:
volodymyr-babak 2016-12-14 23:08:33 +02:00
parent 6dc6dc063c
commit 301600ff71
4 changed files with 7 additions and 13 deletions

View File

@ -28,4 +28,4 @@ echo "building images.."
$command build
echo "starting cassandra, zookeeper, thingsboard-db-schema images..."
$command up -d cassandra zookeeper thingsboard-db-schema
$command up -d db zk thingsboard-db-schema

View File

@ -17,10 +17,10 @@
version: '2'
services:
cassandra:
db:
ports:
- "9042"
- "9160"
zookeeper:
zk:
ports:
- "2181"

View File

@ -17,10 +17,10 @@
version: '2'
services:
cassandra:
db:
ports:
- "9042:9042"
- "9160:9160"
zookeeper:
zk:
ports:
- "2181:2181"

View File

@ -23,24 +23,18 @@ services:
- "8080:8080"
- "1883:1883"
- "5683:5683"
links:
- cassandra:db
- zookeeper:zk
- thingsboard-db-schema:thingsboard-db-schema
env_file:
- thingsboard.env
entrypoint: ./run_thingsboard.sh
thingsboard-db-schema:
image: "thingsboard/thingsboard-db-schema:1.0"
links:
- cassandra:db
env_file:
- thingsboard-db-schema.env
entrypoint: ./install_schema.sh
cassandra:
db:
image: "cassandra:3.9"
volumes:
- "${CASSANDRA_DATA_DIR}:/var/lib/cassandra"
zookeeper:
zk:
image: "zookeeper:3.4.9"
restart: always