Expose the InfluxDB and Cassandra ports to host (#441)
* Expose the InfluxDB and Cassandra ports to host Expose the InfluxDB's HTTP API port 8086 and Cassandra's CQL port 9042 from the containers to the host machine, in order to enable easier exploration of the data stored in the databases from the host machine and development of apps which connect and use the data stored in the databases. Signed-off-by: Jovan Kostovski <chombium@gmail.com> * Port exposing cleanup in docker-compose.yml files There were some doubled configurations for port exposing with the expose and ports directives in the docker-compose.yml files which had to be cleaned. Signed-off-by: Jovan Kostovski <chombium@gmail.com>
This commit is contained in:
parent
694d67ada2
commit
8c0c994385
|
@ -19,14 +19,14 @@ services:
|
|||
restart: on-failure
|
||||
networks:
|
||||
- docker_mainflux-base-net
|
||||
ports:
|
||||
- 9042:9042
|
||||
|
||||
cassandra-writer:
|
||||
image: mainflux/cassandra-writer:latest
|
||||
container_name: mainflux-cassandra-writer
|
||||
depends_on:
|
||||
- cassandra
|
||||
expose:
|
||||
- 8902
|
||||
restart: on-failure
|
||||
environment:
|
||||
MF_NATS_URL: nats://nats:4222
|
||||
|
|
|
@ -23,14 +23,14 @@ services:
|
|||
INFLUXDB_ADMIN_PASSWORD: mainflux
|
||||
networks:
|
||||
- docker_mainflux-base-net
|
||||
ports:
|
||||
- 8086:8086
|
||||
|
||||
influxdb-writer:
|
||||
image: mainflux/influxdb-writer:latest
|
||||
container_name: mainflux-influxdb-writer
|
||||
depends_on:
|
||||
- influxdb
|
||||
expose:
|
||||
- 8900
|
||||
restart: on-failure
|
||||
environment:
|
||||
MF_NATS_URL: nats://nats:4222
|
||||
|
|
|
@ -17,8 +17,6 @@ services:
|
|||
mongodb:
|
||||
image: mongo:3.6-jessie
|
||||
container_name: mainflux-mongodb
|
||||
expose:
|
||||
- 27017
|
||||
restart: on-failure
|
||||
environment:
|
||||
MONGO_INITDB_DATABASE: mainflux
|
||||
|
|
|
@ -53,7 +53,6 @@ services:
|
|||
depends_on:
|
||||
- users-db
|
||||
expose:
|
||||
- 8180
|
||||
- 8181
|
||||
restart: on-failure
|
||||
environment:
|
||||
|
@ -95,7 +94,6 @@ services:
|
|||
- things-db
|
||||
- users
|
||||
expose:
|
||||
- 8182
|
||||
- 8183
|
||||
restart: on-failure
|
||||
environment:
|
||||
|
@ -143,8 +141,6 @@ services:
|
|||
depends_on:
|
||||
- things
|
||||
- nats
|
||||
expose:
|
||||
- 8186
|
||||
restart: on-failure
|
||||
environment:
|
||||
MF_WS_ADAPTER_PORT: 8186
|
||||
|
@ -162,8 +158,6 @@ services:
|
|||
- things
|
||||
- nats
|
||||
restart: on-failure
|
||||
expose:
|
||||
- 8185
|
||||
environment:
|
||||
MF_HTTP_ADAPTER_PORT: 8185
|
||||
MF_NATS_URL: nats://nats:4222
|
||||
|
@ -207,8 +201,6 @@ services:
|
|||
- things
|
||||
- nats
|
||||
restart: on-failure
|
||||
expose:
|
||||
- 5683
|
||||
environment:
|
||||
MF_COAP_ADAPTER_PORT: 5683
|
||||
MF_NATS_URL: nats://nats:4222
|
||||
|
|
Loading…
Reference in New Issue