mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nitro-neo4j
|
|
namespace: human-connection
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 0
|
|
maxUnavailable: "100%"
|
|
selector:
|
|
matchLabels:
|
|
human-connection.org/selector: deployment-human-connection-neo4j
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
backup.velero.io/backup-volumes: neo4j-data
|
|
labels:
|
|
human-connection.org/selector: deployment-human-connection-neo4j
|
|
name: nitro-neo4j
|
|
spec:
|
|
containers:
|
|
- name: nitro-neo4j
|
|
image: humanconnection/neo4j:latest
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: NEO4J_apoc_import_file_enabled
|
|
value: "true"
|
|
- name: NEO4J_dbms_memory_pagecache_size
|
|
value: 1G
|
|
- name: NEO4J_dbms_memory_heap_max__size
|
|
value: 1G
|
|
- name: NEO4J_URI
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: configmap
|
|
key: NEO4J_URI
|
|
- name: NEO4J_USER
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: configmap
|
|
key: NEO4J_USER
|
|
- name: NEO4J_AUTH
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: configmap
|
|
key: NEO4J_AUTH
|
|
ports:
|
|
- containerPort: 7687
|
|
- containerPort: 7474
|
|
volumeMounts:
|
|
- mountPath: /data/
|
|
name: neo4j-data
|
|
volumes:
|
|
- name: neo4j-data
|
|
persistentVolumeClaim:
|
|
claimName: neo4j-data-claim
|
|
restartPolicy: Always
|
|
terminationGracePeriodSeconds: 30
|