-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathdocker-compose.yaml
43 lines (40 loc) · 995 Bytes
/
docker-compose.yaml
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
services:
postgres:
image: postgres:latest
container_name: potpie_postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mysecretpassword
POSTGRES_DB: momentum
ports:
- "5432:5432"
networks:
- app-network
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 10s
timeout: 5s
retries: 5
neo4j:
image: neo4j:latest
container_name: potpie_neo4j
environment:
NEO4J_AUTH: neo4j/mysecretpassword
NEO4JLABS_PLUGINS: '["apoc"]' # Add this line to include APOC plugin
NEO4J_dbms_security_procedures_unrestricted: 'apoc.*' # Allow APOC procedures
NEO4J_dbms_memory_transaction_total_max: 0
ports:
- "7474:7474"
- "7687:7687"
networks:
- app-network
redis:
image: redis:latest
container_name: potpie_redis_broker
ports:
- "6379:6379"
networks:
- app-network
networks:
app-network:
driver: bridge