 			# 	uncompressedHistoryOps: ({doc_id}) -> "UncompressedHistoryOps:{#{doc_id}}"
 			# 	docsWithHistoryOps: ({project_id}) -> "DocsWithHistoryOps:{#{project_id}}"
 		lock:
-			port: "6379"
+			port: process.env["REDIS_PORT"] or "6379"
 			host: process.env["REDIS_HOST"] or "localhost"
 			password: process.env["REDIS_PASSWORD"]
 			key_schema:


	redis:
		realtime:
			port: "6379"
			host: process.env["REDIS_HOST"] or "localhost"
			password: process.env["REDIS_PASSWORD"]
			key_schema:

			# 	ranges: ({doc_id}) -> "Ranges:{#{doc_id}}"
			# 	projectState: ({project_id}) -> "ProjectState:{#{project_id}}"
		history:
			port: process.env["REDIS_PORT"] or "6379"
			host: process.env["REDIS_HOST"] or "localhost"
			password: process.env["REDIS_PASSWORD"]
			key_schema:
