Skip to content

Commit 27fca63

Browse files
authored
fix(railway): expose 8080 to match Railway default (#138)
1 parent ab2c730 commit 27fca63

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ COPY src ./src
7171
# IMPORTANT: Do not set a default PORT here.
7272
# Railway injects PORT at runtime and routes traffic to that port.
7373
# If we force a different port, deployments can come up but the domain will route elsewhere.
74-
EXPOSE 3000
74+
EXPOSE 8080
7575

7676
# Ensure PID 1 reaps zombies and forwards signals.
7777
ENTRYPOINT ["tini", "--"]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@ Recommendations:
115115
```bash
116116
docker build -t clawdbot-railway-template .
117117

118-
docker run --rm -p 3000:3000 \
119-
-e PORT=3000 \
118+
docker run --rm -p 8080:8080 \
119+
-e PORT=8080 \
120120
-e SETUP_PASSWORD=test \
121121
-e OPENCLAW_STATE_DIR=/data/.openclaw \
122122
-e OPENCLAW_WORKSPACE_DIR=/data/workspace \
123123
-v $(pwd)/.tmpdata:/data \
124124
clawdbot-railway-template
125125

126-
# open http://localhost:3000/setup (password: test)
126+
# open http://localhost:8080/setup (password: test)
127127
```
128128

129129
---

0 commit comments

Comments
 (0)