Coder Social home page Coder Social logo

Comments (3)

davidgikas avatar davidgikas commented on August 20, 2024

Any news on this?

from docker-neo4j.

davidgikas avatar davidgikas commented on August 20, 2024

@jennyowen

from docker-neo4j.

davidgikas avatar davidgikas commented on August 20, 2024

Go same my docker-compose.yml:
version: '3.9'

services:
core:
image: neo4j:4.4-enterprise
networks:
neo4j-net:
aliases:
- lan
ports:
- 7474:7474
- 6477:6477
- 7687:7687
volumes:
- ./conf/neo4j.conf:/conf/neo4j.conf
environment:
- NEO4J_dbms_connector_http_advertised__address=0.0.0.0:7474
- NEO4J_dbms_connector_bolt_advertised__address=0.0.0.0:7687
- NEO4J_AUTH=neo4j/changeme
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- EXTENDED_CONF=yes
- NEO4J_dbms_mode=CORE
user: ${USER_ID}:${GROUP_ID}
deploy:
replicas: 3

replica:
image: neo4j:4.4-enterprise
networks:
neo4j-net:
aliases:
- lan
ports:
- 7475:7475
- 6478:6478
- 7688:7688
volumes:
- ./conf/neo4j.conf:/conf/neo4j.conf
environment:
- NEO4J_dbms_connector_http_advertised__address=0.0.0.0:7475
- NEO4J_dbms_connector_bolt_advertised__address=0.0.0.0:7688
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/changeme
- EXTENDED_CONF=yes
- NEO4J_dbms_mode=READ_REPLICA
user: ${USER_ID}:${GROUP_ID}
deploy:
replicas: 3

networks:
neo4j-net:

My neo4j.conf

Setting that specifies how much memory Neo4j is allowed to use for the page cache.

dbms.memory.pagecache.size=100M
dbms.default_listen_address=0.0.0.0

Setting that specifies the initial JVM heap size.

dbms.memory.heap.initial_size=100M

Strategy that the instance will use to determine the addresses of other members.

causal_clustering.discovery_type=DNS

The network addresses of an initial set of Core cluster members that are available to bootstrap this Core or Read Replica instance.

If the DNS strategy is used, the addresses are fetch using the DNS A records.

causal_clustering.initial_discovery_members=tasks.lan:5000

Address (the public hostname/IP address of the machine)

and port setting that specifies where this instance advertises for discovery protocol messages from other members of the cluster.

causal_clustering.discovery_advertised_address=$(hostname -i)

Address (the public hostname/IP address of the machine)

and port setting that specifies where this instance advertises for Raft messages within the Core cluster.

causal_clustering.raft_advertised_address=$(hostname)

Address (the public hostname/IP address of the machine)

and port setting that specifies where this instance advertises for requests for transactions in the transaction-shipping catchup protocol.

causal_clustering.transaction_advertised_address=$(hostname)

Enable server side routing

dbms.routing.enabled=true

Use server side routing for neo4j:// protocol connections.

dbms.routing.default_router=SERVER

The advertised address for the intra-cluster routing connector.

dbms.routing.advertised_address=$(hostname)

Have tried several stuff but web interface is only available from inside the container.

from docker-neo4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.