-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (38 loc) · 1017 Bytes
/
docker-compose.yml
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
services:
# Postgres
postgres:
image: bitnami/postgresql:16.1.0
ports:
- 5432:5432
environment:
ALLOW_EMPTY_PASSWORD: yes
POSTGRESQL_USERNAME: postgres
POSTGRESQL_POSTGRES_PASSWORD: postgres
volumes:
- postgresql_data:/bitnami/postgresql
- ./config/postgres:/docker-entrypoint-initdb.d
# NATS
nats:
image: bitnami/nats:2.10.5
ports:
- 4222:4222
- 8222:8222
# Neo4j
neo4j:
image: neo4j
environment:
NEO4J_PLUGINS: "[\"apoc\", \"apoc-extended\"]"
NEO4J_AUTH: neo4j/password
NEO4J_dbms_security_procedures_allowlist: gds.*, apoc.*
NEO4J_dbms_security_procedures_unrestricted: gds.*, apoc.*
ports:
- 7474:7474
- 7473:7473
- 7687:7687
volumes:
- neo4j_data:/bitnami/neo4j
- ./backend/recommendation/apoc.conf:/var/lib/neo4j/conf/apoc.conf
- ./backend/recommendation/schema.cypher:/var/lib/neo4j/db_init/schema.cypher
volumes:
postgresql_data:
neo4j_data: