Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Neo4j 4.0.4_DockerCompose_SSL
version: '3'
networks:
lan:
services:
core1:
image: neo4j:4.0.4-enterprise
networks:
- lan
ports:
- 7474:7474
- 7687:7687
- 7473:7473
volumes:
- $HOME/neo4j/neo4j-j40/conf:/conf
- $HOME/neo4j/neo4j-j40/data:/data
- $HOME/neo4j/neo4j-j40/logs:/logs
- $HOME/neo4j/neo4j-j40/plugins:/plugins
- $HOME/neo4j/neo4j-j40/certificates:/certificates
environment:
# - NEO4J_AUTH=none
- NEO4J_dbms_security_auth__enabled=true
- NEO4J_AUTH=neo4j/changeme
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_dbms_memory_heap_initial__size=1024m
- NEO4J_dbms_memory_heap_max__size=1024m
- NEO4J_dbms_memory_pagecache_size=1g
- NEO4J_dbms_directories_import=import
- NEO4J_dbms_logs_query_enabled=info
- NEO4J_dbms_logs_query_threshold=0s
- NEO4J_dbms_default__database=ssldb
- NEO4J_dbms_ssl_policy_bolt_enabled=true
- NEO4J_dbms_ssl_policy_bolt_base__directory=/certificates/default
- NEO4J_dbms_ssl_policy_bolt_private__key=neo4jCert.key
- NEO4J_dbms_ssl_policy_bolt_public__certificate=neo4jCert.crt
#dbms.ssl.policy.bolt.ciphers=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_RSA_WITH_AES_256_CBC_SHA
- NEO4J_dbms_ssl_policy_bolt_client__auth=NONE
- NEO4J_dbms_ssl_policy_bolt_trusted__dir=/certificates/bolt/trusted
- NEO4J_dbms_ssl_policy_https_enabled=true
- NEO4J_dbms_ssl_policy_https_base__directory=/certificates/default
- NEO4J_dbms_ssl_policy_https_private__key=neo4jCert.key
- NEO4J_dbms_ssl_policy_https_public__certificate=neo4jCert.crt
- NEO4J_dbms_ssl_policy_https_trusted__dir=/certificates/https/trusted
#dbms.ssl.policy.https.ciphers=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_RSA_WITH_AES_256_CBC_SHA
- NEO4J_dbms_ssl_policy_https_client__auth=NONE
- NEO4J_dbms_ssl_policy_https_tls__versions=TLSv1.2
- NEO4J_dbms_connector_bolt_enabled=true
- NEO4J_dbms_connector_bolt_tls__level=REQUIRED
- NEO4J_dbms_connector_bolt_listen__address=:7687
- NEO4J_dbms_connector_https_enabled=true
- NEO4J_dbms_connector_https_listen__address=:7473
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment