Added ENV support for aerospike, rethinkdb and mongodb. Part of #763.

This commit is contained in:
Sascha Brendel 2017-05-09 01:31:00 +02:00
parent 264bec8806
commit 546ef0ade6
No known key found for this signature in database
GPG Key ID: 928D5F269DEA177E
2 changed files with 20 additions and 6 deletions

View File

@ -298,7 +298,7 @@ services:
mongo:
build: ./mongo
ports:
- "27017:27017"
- "${MONGODB_PORT}:27017"
volumes:
- ${DATA_SAVE_PATH}/mongo:/data/db
networks:
@ -309,7 +309,7 @@ services:
rethinkdb:
build: ./rethinkdb
ports:
- "8090:8080"
- "${RETHINKDB_PORT}:8080"
volumes:
- ${DATA_SAVE_PATH}/rethinkdb:/data/rethinkdb_data
networks:
@ -335,10 +335,10 @@ services:
volumes:
- ${DATA_SAVE_PATH}/aerospike:/opt/aerospike/data
ports:
- "3000:3000"
- "3001:3001"
- "3002:3002"
- "3003:3003"
- "${AEROSPIKE_SERVICE_PORT}:3000"
- "${AEROSPIKE_FABRIC_PORT}:3001"
- "${AEROSPIKE_HEARTBEAT_PORT}:3002"
- "${AEROSPIKE_INFO_PORT}:3003"
networks:
- backend

View File

@ -215,6 +215,20 @@ BLACKFIRE_CLIENT_TOKEN=<client_token>
BLACKFIRE_SERVER_ID=<server_id>
BLACKFIRE_SERVER_TOKEN=<server_token>
### AEROSPIKE ##########################################################################################################
AEROSPIKE_SERVICE_PORT=3000
AEROSPIKE_FABRIC_PORT=3001
AEROSPIKE_HEARTBEAT_PORT=3002
AEROSPIKE_INFO_PORT=3003
### RETHINKDB ##########################################################################################################
RETHINKDB_PORT=8090
### MONGODB ############################################################################################################
MONGODB_PORT=27017
##### TO BE CONTINUE .................................