From dacbfa8f694e2f289bd5bd17097cdaa276bf45b0 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Wed, 25 Jan 2023 08:49:37 +0100
Subject: [PATCH] compose: Fix --public-addr passed arg, move --pruning after

---
 docker/compose/gdev-validator.docker-compose.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/compose/gdev-validator.docker-compose.yml b/docker/compose/gdev-validator.docker-compose.yml
index f92571498..58961ae6f 100644
--- a/docker/compose/gdev-validator.docker-compose.yml
+++ b/docker/compose/gdev-validator.docker-compose.yml
@@ -45,9 +45,9 @@ services:
     command:
       - "--node-key-file=/var/lib/duniter/node.key"
       - "--public-addr"
-      - "--pruning=14400"
       # SERVER_DOMAIN should be replaced by a domain name that point on your server
       - "/dns/${SERVER_DOMAIN?SERVER_DOMAIN should be set}/tcp/30333"
       - "--rpc-cors=all"
       - "--rpc-methods=Unsafe"
       - "--validator"
+      - "--pruning=14400"
-- 
GitLab