From 0e7bced36b6cbb3cd4e5272844d73926eb73de54 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Mon, 25 Dec 2023 23:58:35 +0100 Subject: [PATCH] Prune Monero blockchain on staging --- roles/apps/templates/compose-files/monerod.yml.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/apps/templates/compose-files/monerod.yml.j2 b/roles/apps/templates/compose-files/monerod.yml.j2 index 8af836c..730bfae 100644 --- a/roles/apps/templates/compose-files/monerod.yml.j2 +++ b/roles/apps/templates/compose-files/monerod.yml.j2 @@ -7,6 +7,15 @@ services: node: image: sethsimmons/simple-monerod:{{ apps_vars.monerod.version }} restart: always + command: + - '--rpc-restricted-bind-ip=0.0.0.0' + - '--rpc-restricted-bind-port=18089' + - '--no-igd' + - '--no-zmq' + - '--enable-dns-blocklist' +{% if hostname in groups['staging'] %} + - '--prune-blockchain' +{% endif %} networks: {{ apps_shared_docker_network }}: aliases: