mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nitro-neo4j
|
|
namespace: human-connection
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: nitro-db-migration-worker
|
|
image: humanconnection/db-migration-worker:latest
|
|
imagePullPolicy: Always
|
|
envFrom:
|
|
- configMapRef:
|
|
name: db-migration-worker
|
|
env:
|
|
- name: COMMIT
|
|
value: <BACKEND_COMMIT>
|
|
- name: NEO4J_URI
|
|
value: bolt://localhost:7687
|
|
volumeMounts:
|
|
- name: secret-volume
|
|
readOnly: false
|
|
mountPath: /root/.ssh
|
|
- name: mongo-export
|
|
mountPath: /mongo-export/
|
|
- name: nitro-neo4j
|
|
volumeMounts:
|
|
- mountPath: /mongo-export/
|
|
name: mongo-export
|
|
volumes:
|
|
- name: secret-volume
|
|
secret:
|
|
secretName: ssh-keys
|
|
defaultMode: 0400
|
|
- name: mongo-export
|
|
persistentVolumeClaim:
|
|
claimName: mongo-export-claim
|