Commit a89162bbf5e71af7935d3589984e72c51a2cbf92

Authored by Yura
1 parent e0b0e252

add base docker-compose file

Showing 1 changed file with 42 additions and 0 deletions
  1 +version: '3.3'
  2 +services:
  3 + zookeeper:
  4 + image: wurstmeister/zookeeper
  5 + networks:
  6 + - core
  7 + ports:
  8 + - "2181:2181"
  9 +
  10 + postgres-tb:
  11 + image: postgres
  12 + command: postgres -c 'max_connections=500'
  13 + environment:
  14 + - POSTGRES_USER=postgres
  15 + - POSTGRES_PASSWORD=postgres
  16 + - POSTGRES_DB=thingsboard
  17 + networks:
  18 + - core
  19 + ports:
  20 + - "5432:5432"
  21 +
  22 + cassandra-tb:
  23 + image: cassandra
  24 + networks:
  25 + - core
  26 + ports:
  27 + - "7199:7199"
  28 + - "9160:9160"
  29 + - "9042:9042"
  30 +
  31 + redis:
  32 + image: redis:4.0
  33 + networks:
  34 + - core
  35 + command: redis-server --maxclients 2000
  36 + ports:
  37 + - "6379:6379"
  38 +
  39 +
  40 +networks:
  41 + core:
  42 +