Skip to content

feat(docker): make port configurable via PORT env var (default 8090)#48

Merged
aJesus37 merged 1 commit into
mainfrom
feat/configurable-port
Mar 28, 2026
Merged

feat(docker): make port configurable via PORT env var (default 8090)#48
aJesus37 merged 1 commit into
mainfrom
feat/configurable-port

Conversation

@aJesus37

Copy link
Copy Markdown
Owner

Summary

  • Add ARG PORT=8090 / ENV PORT=$PORT to Dockerfile and Dockerfile.demo
  • All docker-compose files use ${PORT:-8090} for port mappings, command, healthcheck tests, and BASE_URL
  • docker/demo/entrypoint.sh reads PORT from environment, defaulting to 8090

Usage

PORT=9000 docker compose up -d

Test plan

  • Default deploy still works on port 8090 (no PORT env set)
  • Custom port: PORT=9000 docker compose up -d binds to 9000

🤖 Generated with Claude Code

- Add ARG PORT=8090 + ENV PORT=$PORT to Dockerfile and Dockerfile.demo
- Use ${PORT:-8090} in all docker-compose files for ports, commands,
  healthchecks, and BASE_URL
- entrypoint.sh now reads PORT from environment with 8090 as default
@aJesus37
aJesus37 merged commit 4d2bef5 into main Mar 28, 2026
5 checks passed
@aJesus37
aJesus37 deleted the feat/configurable-port branch March 28, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant