Closed sdYoo closed 12 months ago
This is when restarting the container after stopping.
I would be also interested because I want to use the image in kuberntes and want to save the settings if a container gets restarted. With the old image you can mount a volume to /db and all information will be stored. It doesn't work with the image.
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: redisinsight-pv-claim
namespace: redis
labels:
app: redisinsight
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: redisinsight
namespace: redis
labels:
app: redisinsight
spec:
replicas: 1
selector:
matchLabels:
app: redisinsight
template:
metadata:
labels:
app: redisinsight
spec:
containers:
- name: redisinsight
image: oblakstudio/redisinsight:latest
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
volumeMounts:
- name: db
mountPath: /db
ports:
- containerPort: 5000
protocol: TCP
volumes:
- name: db
persistentVolumeClaim:
claimName: redisinsight-pv-claim
---
Hello.
I'll fix this in the next release.
:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Readme Updated to reflect the new persistence.
Hello,
When the container is lowered or raised, the stored database information is initialized. Where is the database information stored?