-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathneo4j-deployment.yaml
46 lines (45 loc) · 1007 Bytes
/
neo4j-deployment.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
44
45
46
apiVersion: apps/v1
kind: Deployment
metadata:
name: neo4j-deployment
spec:
replicas: 1
selector:
matchLabels:
app: neo4j
template:
metadata:
labels:
app: neo4j
spec:
containers:
- name: neo4j
image: neo4j
ports:
- containerPort: 7474
name: http
- containerPort: 7687
name: bolt
env:
- name: NEO4J_AUTH
value: neo4j/12345678
- name: NEO4J_apoc_export_file_enabled
value: "true"
- name: NEO4J_apoc_import_file_enabled
value: "true"
- name: NEO4J_apoc_import_file_use__neo4j__config
value: "true"
- name: NEO4J_PLUGINS
value: '["apoc"]'
- name: NEO4J_ACCEPT_LICENSE_AGREEMENT
value: "yes"
---
apiVersion: v1
kind: Service
metadata:
name: my-neo4j-service
spec:
ports:
- port: 7687
selector:
app: neo4j