Update docker-compose so that every service has debug log level (#453)

Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
This commit is contained in:
Aleksandar Novaković 2018-11-08 21:22:59 +01:00 committed by Drasko DRASKOVIC
parent c058cf95e4
commit ba4b166c96
7 changed files with 13 additions and 0 deletions

View File

@ -18,6 +18,7 @@ services:
container_name: mainflux-cassandra-reader
restart: on-failure
environment:
MF_CASSANDRA_READER_LOG_LEVEL: debug
MF_THINGS_URL: things:8183
MF_CASSANDRA_READER_PORT: 8903
MF_CASSANDRA_READER_DB_CLUSTER: mainflux-cassandra

View File

@ -29,6 +29,7 @@ services:
- cassandra
restart: on-failure
environment:
MF_CASSANDRA_WRITER_LOG_LEVEL: debug
MF_NATS_URL: nats://nats:4222
MF_CASSANDRA_WRITER_PORT: 8902
MF_CASSANDRA_WRITER_DB_CLUSTER: mainflux-cassandra

View File

@ -17,6 +17,7 @@ services:
container_name: mainflux-influxdb-reader
restart: on-failure
environment:
MF_INFLUX_READER_LOG_LEVEL: debug
MF_THINGS_URL: things:8183
MF_INFLUX_READER_PORT: 8905
MF_INFLUX_READER_DB_NAME: mainflux

View File

@ -33,6 +33,7 @@ services:
- influxdb
restart: on-failure
environment:
MF_INFLUX_WRITER_LOG_LEVEL: debug
MF_NATS_URL: nats://nats:4222
MF_INFLUX_WRITER_PORT: 8900
MF_INFLUX_WRITER_BATCH_SIZE: 5000

View File

@ -18,6 +18,7 @@ services:
container_name: mainflux-mongodb-reader
restart: on-failure
environment:
MF_MONGO_READER_LOG_LEVEL: debug
MF_THINGS_URL: things:8183
MF_MONGO_READER_PORT: 8904
MF_MONGO_READER_DB_NAME: mainflux

View File

@ -32,6 +32,7 @@ services:
- mongodb
restart: on-failure
environment:
MF_MONGO_WRITER_LOG_LEVEL: debug
MF_NATS_URL: nats://nats:4222
MF_MONGO_WRITER_PORT: 8901
MF_MONGO_WRITER_DB_NAME: mainflux

View File

@ -56,6 +56,7 @@ services:
- 8181
restart: on-failure
environment:
MF_USERS_LOG_LEVEL: debug
MF_USERS_DB_HOST: users-db
MF_USERS_DB_PORT: 5432
MF_USERS_DB_USER: mainflux
@ -95,6 +96,7 @@ services:
- users
restart: on-failure
environment:
MF_THINGS_LOG_LEVEL: debug
MF_THINGS_DB_HOST: things-db
MF_THINGS_DB_PORT: 5432
MF_THINGS_DB_USER: mainflux
@ -120,6 +122,7 @@ services:
expose:
- 8184
environment:
MF_NORMALIZER_LOG_LEVEL: debug
MF_NATS_URL: nats://nats:4222
MF_NORMALIZER_PORT: 8184
networks:
@ -142,6 +145,7 @@ services:
- nats
restart: on-failure
environment:
MF_WS_ADAPTER_LOG_LEVEL: debug
MF_WS_ADAPTER_PORT: 8186
MF_NATS_URL: nats://nats:4222
MF_THINGS_URL: things:8183
@ -160,6 +164,7 @@ services:
expose:
- 8185
environment:
MF_HTTP_ADAPTER_LOG_LEVEL: debug
MF_HTTP_ADAPTER_PORT: 8185
MF_NATS_URL: nats://nats:4222
MF_THINGS_URL: things:8183
@ -184,6 +189,7 @@ services:
- redis
restart: on-failure
environment:
MF_MQTT_ADAPTER_LOG_LEVEL: debug
MF_MQTT_ADAPTER_PORT: 1883
MF_MQTT_ADAPTER_WS_PORT: 8880
MF_MQTT_ADAPTER_REDIS_HOST: redis
@ -203,6 +209,7 @@ services:
- nats
restart: on-failure
environment:
MF_COAP_ADAPTER_LOG_LEVEL: debug
MF_COAP_ADAPTER_PORT: 5683
MF_NATS_URL: nats://nats:4222
MF_THINGS_URL: things:8183