Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conf folder not persisted #494

Open
couardcourageux opened this issue May 7, 2024 · 0 comments
Open

conf folder not persisted #494

couardcourageux opened this issue May 7, 2024 · 0 comments
Assignees

Comments

@couardcourageux
Copy link

couardcourageux commented May 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants