Merge pull request #922 from Lednerb/adding-env-aerospike-rethinkdb-mongodb

Added ENV support for aerospike, rethinkdb and mongodb.
This commit is contained in:
Winfried 2017-05-09 16:25:37 +02:00 committed by GitHub
commit 8a13ae1bb9
2 changed files with 22 additions and 6 deletions

View File

@ -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

View File

@ -216,6 +216,21 @@ 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
### CADDY ############################################################################################################## ### CADDY ##############################################################################################################
CADDY_HOST_HTTP_PORT=80 CADDY_HOST_HTTP_PORT=80
@ -223,6 +238,7 @@ CADDY_HOST_HTTPS_PORT=443
CADDY_HOST_LOG_PATH=./logs/caddy CADDY_HOST_LOG_PATH=./logs/caddy
CADDY_CUSTOM_CADDYFILE=./caddy/Caddyfile CADDY_CUSTOM_CADDYFILE=./caddy/Caddyfile
##### TO BE CONTINUE ................................. ##### TO BE CONTINUE .................................
# ......... Missing: neo4j mongo rethinkdb redis aerospike pgadmin... # ......... Missing: neo4j mongo rethinkdb redis aerospike pgadmin...