Coder Social home page Coder Social logo

Comments (4)

dongbohu avatar dongbohu commented on August 27, 2024

@dhimmel: I tried Neo4j Community Edition 3.5.4 on my local desktop. I had to upgrade the database files when starting the Neo4j process. So I uncommented the following line in conf/neo4j.conf:

dbms.allow_upgrade=true

and it seems to be working fine. Should we update hetionet-v1.0.db.tar.bz2 in the repo to make sure that our users are able to run the latest Neo4j?

I also noticed that the Dockerfile is based neo4j:3.2.8-enterprise:

FROM neo4j:3.2.8-enterprise

Why the enterprise version instead of community version?

from hetionet.

dongbohu avatar dongbohu commented on August 27, 2024

About the two goals:
(1) consider an automated deployment pipeline of the Docker image
If certain files in this repo are changed, then the docker image should be rebuilt and pushed to docker hub, then the docker container should be restarted too. Is this what you mean?

(2) see if we can monitor for downtime and restart the container
We can write a cron job (run it hourly or more frequent) to detect whether the container is down. If it is, restart the container automatically.

from hetionet.

dhimmel avatar dhimmel commented on August 27, 2024

I had to upgrade the database files when starting the Neo4j process.

See the configuration we use in hetnet/neo4j/docker/files/neo4j.conf. We likely want to stick with the current Neo4j distro and configuration we use as much as possible... unless you are looking for extra debugging work haha.

Should we update hetionet-v1.0.db.tar.bz2 in the repo to make sure that our users are able to run the latest Neo4j?

I don't see a need to do this unless the upgrade stops working.

Why the enterprise version instead of community version?

Switched to enterprise in 4dfa938 to accomplish configuration options that should be supported by community but were not. For example, "query logging" and the browser.remote_content_hostname_whitelist which for some releases has been enterprise only.

Note that Neo4j enterprise is no longer open source. Therefore, in the future if we want to upgrade neo4j versions, we will switch back to community. However, the differences are minimal for the setup we have here and it's likely some of the configuration options will have changed anyways.

If certain files in this repo are changed, then the docker image should be rebuilt and pushed to docker hub, then the docker container should be restarted too. Is this what you mean?

Yes, it would be great to have CI build and deploy the docker, while ensuring docker tags remain protected: see docker/hub-feedback#958. Let's chat about how we want to do this.

We can write a cron job (run it hourly or more frequent) to detect whether the container is down. If it is, restart the container automatically.

Yes, that sounds good. We'll have to look back at old issues as guidance like #14, #5, #9, #10.

We also should consider whether the Docker images can be used locally and whether we want to put SSL certificate logic in the container (with a possible optional Let's Encrypt SSL retrieval).

from hetionet.

dhimmel avatar dhimmel commented on August 27, 2024

@dongbohu and I have migrated https://neo4j.het.io over to an AWS instance under the Greene Lab account. The elastic IP address for the instance is 3.212.243.105. I updated the A record with the domain registrar.

from hetionet.

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.