fixed monerod hopefully
This commit is contained in:
parent
a44ac5768e
commit
cbb477ad45
@ -1,4 +1,4 @@
|
|||||||
# services/crypto/monerod/deployment.yaml
|
# services/crypto/monerod
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@ -49,16 +49,17 @@ spec:
|
|||||||
image: debian:bookworm-slim
|
image: debian:bookworm-slim
|
||||||
command: ["/data/monerod"]
|
command: ["/data/monerod"]
|
||||||
args:
|
args:
|
||||||
- exec /data/monerod \
|
- --data-dir=/data
|
||||||
--data-dir=/data \
|
- --non-interactive
|
||||||
--non-interactive \
|
- --prune-blockchain
|
||||||
--prune-blockchain \
|
- --rpc-bind-ip=0.0.0.0
|
||||||
--rpc-bind-ip=0.0.0.0 --rpc-bind-port=18081 \
|
- --rpc-bind-port=18081
|
||||||
--confirm-external-bind \
|
- --confirm-external-bind
|
||||||
--p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080
|
- --p2p-bind-ip=0.0.0.0
|
||||||
|
- --p2p-bind-port=18080
|
||||||
ports:
|
ports:
|
||||||
- { name: rpc, port: 18081, targetPort: 18081 }
|
- { name: rpc, containerPort: 18081 }
|
||||||
- { name: p2p, port: 18080, targetPort: 18080 }
|
- { name: p2p, containerPort: 18080 }
|
||||||
# securityContext:
|
# securityContext:
|
||||||
# allowPrivilegeEscalation: false
|
# allowPrivilegeEscalation: false
|
||||||
# readOnlyRootFilesystem: true
|
# readOnlyRootFilesystem: true
|
||||||
|
|||||||
@ -10,3 +10,4 @@ spec:
|
|||||||
selector: { app: monerod }
|
selector: { app: monerod }
|
||||||
ports:
|
ports:
|
||||||
- { name: rpc, port: 18081, targetPort: 18081 }
|
- { name: rpc, port: 18081, targetPort: 18081 }
|
||||||
|
- { name: p2p, port: 18080, targetPort: 18080 }
|
||||||
Loading…
x
Reference in New Issue
Block a user