Added Neo4j default configuration

Casted port as string

Removed "aliases" block

Typo

Fixes directory structure

Adds port casting

Changes port to integer

Revert "Changes port to integer"

This reverts commit 3cd799f1f81d11e48a390dbb3145a363511276e5.

Force port to be an integer

Revert "Force port to be an integer"

This reverts commit ba46c410a93ce6d9cb1bd9bc81462cf947ea2e25.
This commit is contained in:
Xavier Coureau
2018-07-17 17:31:05 +02:00
parent aeaf921014
commit b852a54615
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,8 @@
neo4j:
connections:
default:
scheme: "%env(NEO4J_DEFAULT_CONNECTION_SCHEME)%"
host: "%env(NEO4J_DEFAULT_CONNECTION_HOST)%"
port: "%env(int:NEO4J_DEFAULT_CONNECTION_PORT)%"
username: "%env(NEO4J_DEFAULT_CONNECTION_USERNAME)%"
password: "%env(NEO4J_DEFAULT_CONNECTION_PASSWORD)%"
+15
View File
@@ -0,0 +1,15 @@
{
"bundles": {
"Neo4j\\Neo4jBundle\\Neo4jBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"NEO4J_DEFAULT_CONNECTION_SCHEME": "bolt",
"NEO4J_DEFAULT_CONNECTION_HOST": "localhost",
"NEO4J_DEFAULT_CONNECTION_PORT": "7687",
"NEO4J_DEFAULT_CONNECTION_USERNAME": "neo4j",
"NEO4J_DEFAULT_CONNECTION_PASSWORD": "neo4j"
}
}