-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
59 lines (48 loc) · 1.48 KB
/
docker-compose.test.yml
File metadata and controls
59 lines (48 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Docker Compose for TestContainers local development
# Use this when you want to run containers manually for debugging
version: '3.8'
services:
neo4j-test:
image: neo4j:5.28
container_name: omnigraph-neo4j-test
ports:
- "7687:7687"
- "7474:7474"
environment:
# Basic authentication
NEO4J_AUTH: neo4j/testpassword
# Enable APOC procedures
NEO4J_PLUGINS: '["apoc"]'
NEO4J_dbms_security_procedures_unrestricted: apoc.*
# File operations for testing
NEO4J_apoc_export_file_enabled: 'true'
NEO4J_apoc_import_file_enabled: 'true'
# Memory settings for testing
NEO4J_dbms_memory_heap_initial_size: 512m
NEO4J_dbms_memory_heap_max_size: 1G
NEO4J_dbms_memory_pagecache_size: 256m
# Development settings
NEO4J_dbms_security_auth_minimum_password_length: 4
NEO4J_dbms_logs_debug_level: INFO
volumes:
# Persist data during development
- neo4j-test-data:/data
- neo4j-test-logs:/logs
- neo4j-test-import:/var/lib/neo4j/import
- neo4j-test-plugins:/plugins
healthcheck:
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:7474 || exit 1"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
networks:
- omnigraph-test
networks:
omnigraph-test:
driver: bridge
volumes:
neo4j-test-data:
neo4j-test-logs:
neo4j-test-import:
neo4j-test-plugins: