快速启动neo4j

文档说明:只记录关键地方;
试验环境: linux debian 11

version: "3"
services:
  neo4j-service:
    image: neo4j:latest
    volumes:
      - ./neo4j-data:/data
    ports:
      - "7474:7474"
      - "7687:7687"


启动、关闭、查看日志

# 启动
docker-compose -f docker-compose.yaml up -d 
# 关闭
docker-compose -f docker-compose.yaml down --remove-orphans
# 查看日志
docker-compose -f docker-compose.yaml logs -f 

浏览器访问


http://localhost:7474/browser/

参考文档

  1. hub docker neo4j
  2. github docker neo4j
  3. neo4j docs
  4. 自建拉取registry.k8s.io、k8s.gcr.io、gcr.io、quay.io、ghcr.io 容器镜像的服务
posted @ 2022-10-25 22:07  jingjingxyk  阅读(58)  评论(0编辑  收藏  举报