LoginSignup
6
1

More than 3 years have passed since last update.

はじめに

いなたつアドカレの二十三日目の記事です。

brewでmacにneo4j入れたけどうまくいかなかったのでDockerでやったやつのメモ

docker-compose

docker-compose.yml
version: '3'
services:
    neo4j:
        image: neo4j
        ports:
            - 7474:7474
            - 7687:7687
        volumes: 
            - ./neo4j/data:/data
            - ./neo4j/logs:/logs
            - ./neo4j/conf:/conf

imageはneo4jのですね。そのまんまです

ぽーとは7474,7687を通します。

7474はwebインターフェースで7687はプログラムから制御する際に使用するようです。

これで

$ docker-compose up -d

実行して

localhost:7474にアクセスすることで、webインターフェースにアクセスできます。

スクリーンショット 2019-12-23 15.23.40.png

やったね!!

参考

6
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
1