Skip to content

conf folder not persisted #494

@couardcourageux

Description

@couardcourageux

the docker compose file

version: '3'

services:
  neo4j:
    image: neo4j:latest
    restart: unless-stopped
    healthcheck:
      test: wget http://localhost:7474 || exit 1
      interval: 1s
      timeout: 2s
      retries: 15
    ports:
      - 7474:7474
      - 7687:7687
    volumes:
      - ./neo4j_db/conf:/conf
      - ./neo4j_db/data:/data
      - ./neo4j_db/import:/import
      - ./neo4j_db/logs:/logs
      - ./neo4j_db/plugins:/plugins
    environment:
      # Raise memory limits
      - NEO4J_dbms_memory_pagecache_size=1G
      - NEO4J_dbms.memory.heap.initial_size=1G
      - NEO4J_dbms_memory_heap_max__size=1G
      - NEO4J_AUTH=neo4j/password

The problems

Introduction

the mapped folders were created prior to creating the container

The Auth problem

Almost every time i restart the container, i have auth issues

The conf problem

Whatever i do, the conf folder on my machine is not populated, unlike data and logs. Hence, i don't understand how the conf, thus the password, is persisted

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions