fix(docker): add -console flag and open network for launcher (#2314)
- Add -console to Dockerfile CMD so launcher outputs logs to stdout, making docker logs work as expected - Remove 127.0.0.1 bind from ports to allow public network access - Add commented PICOCLAW_LAUNCHER_TOKEN env var example Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1175f4a62b
commit
9ec27835cf
2 changed files with 6 additions and 3 deletions
|
|
@ -9,4 +9,4 @@ COPY $TARGETPLATFORM/picoclaw-launcher /usr/local/bin/picoclaw-launcher
|
||||||
COPY $TARGETPLATFORM/picoclaw-launcher-tui /usr/local/bin/picoclaw-launcher-tui
|
COPY $TARGETPLATFORM/picoclaw-launcher-tui /usr/local/bin/picoclaw-launcher-tui
|
||||||
|
|
||||||
ENTRYPOINT ["picoclaw-launcher"]
|
ENTRYPOINT ["picoclaw-launcher"]
|
||||||
CMD ["-public", "-no-browser"]
|
CMD ["-console", "-public", "-no-browser"]
|
||||||
|
|
|
||||||
|
|
@ -45,8 +45,11 @@ services:
|
||||||
- launcher
|
- launcher
|
||||||
environment:
|
environment:
|
||||||
- PICOCLAW_GATEWAY_HOST=0.0.0.0
|
- PICOCLAW_GATEWAY_HOST=0.0.0.0
|
||||||
|
# Set a fixed dashboard token instead of a random one each restart.
|
||||||
|
# If not set, a random token is generated and printed to the console on startup.
|
||||||
|
#- PICOCLAW_LAUNCHER_TOKEN=your-secret-token-here
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:18800:18800"
|
- "18800:18800"
|
||||||
- "127.0.0.1:18790:18790"
|
- "18790:18790"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/root/.picoclaw
|
- ./data:/root/.picoclaw
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue