Skip to content

Commit 43f9dd6

Browse files
EtienneWalletclaudegithub-actions[bot]
authored
Fix chain-simulator explorer/lite-wallet container restart failures (#179)
* fix(chain-simulator): force recreate containers on startup Add --force-recreate to docker compose up to prevent explorer and lite-wallet nginx failures caused by non-idempotent entrypoint scripts accumulating duplicate location blocks across container restarts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * docs(changelog): add chain-simulator container fix entry Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Bump version: 3.1.0 → 3.1.1-dev0 * fix: linting and doc dictionary --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: github-actions <41898282+github-actions@users.noreply.github.com>
1 parent 5252502 commit 43f9dd6

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-3
lines changed

docs/dictionary/custom_wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ https
3636
monotypes
3737
Monotypes
3838
natively
39+
nginx
3940
os
4041
permissioned
4142
pipx

docs/source/dev_documentation/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Fixed
6+
7+
- Chain simulator explorer and lite-wallet containers failing on restart due to non-idempotent nginx config in upstream images (added `--force-recreate` to `docker compose up`)
8+
59
## 3.1.0 - 2026-02-11
610

711
### Added

mxops/utils/chain_simulator.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,15 @@ def start_chain_simulator(
277277

278278
LOGGER.info("Starting the chain simulator")
279279
process = subprocess.Popen( # nosec
280-
["docker", "compose", "-f", file_path.as_posix(), "up", "-d"],
280+
[
281+
"docker",
282+
"compose",
283+
"-f",
284+
file_path.as_posix(),
285+
"up",
286+
"-d",
287+
"--force-recreate",
288+
],
281289
stdout=subprocess.PIPE,
282290
stderr=subprocess.PIPE,
283291
universal_newlines=True,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55

66
[project]
77
name = "mxops"
8-
version = "3.1.0"
8+
version = "3.1.1-dev0"
99
authors = [
1010
{name="Etienne Wallet"},
1111
]

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.1.0
2+
current_version = 3.1.1-dev0
33
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>[^-0-9]+)(?P<build>\d+))?
44
serialize =
55
{major}.{minor}.{patch}-{release}{build}

0 commit comments

Comments
 (0)