Commit 0cf1f5ea4f0393e23a762319d15ad01e94843d42
Committed by
GitHub
Merge pull request #3 from ashvayka/docker-deploy
Added docker deploy scripts
Showing
5 changed files
with
14 additions
and
5 deletions
docker/.env
0 → 100644
1 | +CASSANDRA_DATA_DIR=/home/docker/cassandra_volume | ... | ... |
... | ... | @@ -27,5 +27,5 @@ $command rm -f |
27 | 27 | echo "building images.." |
28 | 28 | $command build |
29 | 29 | |
30 | -echo "starting cassandra, zookeeper, db-schema images..." | |
31 | -$command up -d cassandra zookeeper db-schema | |
30 | +echo "starting cassandra, zookeeper, thingsboard-db-schema images..." | |
31 | +$command up -d cassandra zookeeper thingsboard-db-schema | ... | ... |
... | ... | @@ -18,7 +18,7 @@ version: '2' |
18 | 18 | |
19 | 19 | services: |
20 | 20 | thingsboard: |
21 | - build: thingsboard | |
21 | + image: "thingsboard/application:0.1" | |
22 | 22 | ports: |
23 | 23 | - "8080:8080" |
24 | 24 | - "1883:1883" |
... | ... | @@ -27,8 +27,6 @@ services: |
27 | 27 | - cassandra:db |
28 | 28 | - zookeeper:zk |
29 | 29 | - thingsboard-db-schema:thingsboard-db-schema |
30 | - volumes: | |
31 | - - "../application/target/thingsboard.deb:/root/thingsboard.deb" | |
32 | 30 | env_file: |
33 | 31 | - thingsboard.env |
34 | 32 | entrypoint: ./run_thingsboard.sh | ... | ... |