Added ENV support for aerospike, rethinkdb and mongodb. Part of #763.
This commit is contained in:
parent
264bec8806
commit
546ef0ade6
@ -298,7 +298,7 @@ services:
|
|||||||
mongo:
|
mongo:
|
||||||
build: ./mongo
|
build: ./mongo
|
||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "${MONGODB_PORT}:27017"
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_SAVE_PATH}/mongo:/data/db
|
- ${DATA_SAVE_PATH}/mongo:/data/db
|
||||||
networks:
|
networks:
|
||||||
@ -309,7 +309,7 @@ services:
|
|||||||
rethinkdb:
|
rethinkdb:
|
||||||
build: ./rethinkdb
|
build: ./rethinkdb
|
||||||
ports:
|
ports:
|
||||||
- "8090:8080"
|
- "${RETHINKDB_PORT}:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_SAVE_PATH}/rethinkdb:/data/rethinkdb_data
|
- ${DATA_SAVE_PATH}/rethinkdb:/data/rethinkdb_data
|
||||||
networks:
|
networks:
|
||||||
@ -335,10 +335,10 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${DATA_SAVE_PATH}/aerospike:/opt/aerospike/data
|
- ${DATA_SAVE_PATH}/aerospike:/opt/aerospike/data
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "${AEROSPIKE_SERVICE_PORT}:3000"
|
||||||
- "3001:3001"
|
- "${AEROSPIKE_FABRIC_PORT}:3001"
|
||||||
- "3002:3002"
|
- "${AEROSPIKE_HEARTBEAT_PORT}:3002"
|
||||||
- "3003:3003"
|
- "${AEROSPIKE_INFO_PORT}:3003"
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
|
||||||
|
14
env-example
14
env-example
@ -215,6 +215,20 @@ BLACKFIRE_CLIENT_TOKEN=<client_token>
|
|||||||
BLACKFIRE_SERVER_ID=<server_id>
|
BLACKFIRE_SERVER_ID=<server_id>
|
||||||
BLACKFIRE_SERVER_TOKEN=<server_token>
|
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 .................................
|
##### TO BE CONTINUE .................................
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user