我是 Docker 新手,我想启动一个可以连接到(端口 7474)的 docker Neo4j 社区容器,该容器具有存储在容器外部的 Neo4j 数据和日志,位于我桌面上的一个文件夹中。我正在使用 Windows 机器。
我正在尝试保存docker-compose.yml
文件并从 Kitematic CL 中触发它docker-compose up -d
什么内容应该存储在 yml 文件中?有没有更好/更简单的方法来做到这一点?
neo4j:
image: official/neo4j:latest
ports:
- "7474:7474"
volumes:
- C:/Users/UserME/Desktop/neo4j/