• Stefy Lanza (nextime / spora )'s avatar
    township: auto-load mapped township_config.json in the bundled launcher · fadc340d
    Stefy Lanza (nextime / spora ) authored
    The bundled township tool (supervisord [program:township]) launched without
    -c/--config, so a township_config.json bind-mounted via --map into
    /cache/township_output was never read — the web UI came up with blank API key /
    league upload credentials / options every restart.
    
    * supervisord: pass --config /cache/township_output/township_config.json so a
      mapped config auto-loads. Map the bare-metal dir with
        coderai-docker --map /path/to/township_output:/cache/township_output
      and the saved settings + credentials come up automatically.
    * gen_township_fighters.py: a MISSING --config file is no longer fatal (fresh
      install with no mapped dir) — fall back to defaults and start normally; a
      malformed config still errors. The web UI's Save already writes back to
      <out-dir>/township_config.json, so first-run saves persist into the mapped dir.
    
    Bump version to 0.1.4.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01RdMufYvtTbtGDWsiZVoXce
    fadc340d
Name
Last commit
Last update
..
dist-bundle Loading commit data...
launcher Loading commit data...
Dockerfile.oci Loading commit data...
Dockerfile.oci-venv Loading commit data...
Dockerfile.update Loading commit data...
README-RUN.txt Loading commit data...
build_oci_image.sh Loading commit data...
make_dist_bundle.sh Loading commit data...
make_tarball_from_venv.sh Loading commit data...
nginx.conf Loading commit data...
package_oci_image.sh Loading commit data...
run_oci.sh Loading commit data...
smoke_test_oci.sh Loading commit data...
smoke_test_services.sh Loading commit data...
supervisord.conf Loading commit data...
update_oci_image.sh Loading commit data...