Commit 08e5feea9c224e6222bb498d6bba5f11c78987ec
Committed by
GitHub
Merge pull request #4 from volodymyr-babak/feature/docker-improve
Feature/docker improve
Showing
3 changed files
with
9 additions
and
8 deletions
@@ -28,8 +28,10 @@ services: | @@ -28,8 +28,10 @@ services: | ||
28 | entrypoint: ./run_thingsboard.sh | 28 | entrypoint: ./run_thingsboard.sh |
29 | thingsboard-db-schema: | 29 | thingsboard-db-schema: |
30 | image: "thingsboard/thingsboard-db-schema:1.2.3" | 30 | image: "thingsboard/thingsboard-db-schema:1.2.3" |
31 | - env_file: | ||
32 | - - thingsboard-db-schema.env | 31 | + environment: |
32 | + - SKIP_SCHEMA_CREATION=${SKIP_SCHEMA_CREATION} | ||
33 | + - SKIP_SYSTEM_DATA=${SKIP_SYSTEM_DATA} | ||
34 | + - SKIP_DEMO_DATA=${SKIP_DEMO_DATA} | ||
33 | entrypoint: ./install_schema.sh | 35 | entrypoint: ./install_schema.sh |
34 | db: | 36 | db: |
35 | image: "cassandra:3.9" | 37 | image: "cassandra:3.9" |