Skip to content

Fix docker port issues#77

Merged
maximedogawa merged 8 commits into
mainfrom
fix-docker-port-issues
Apr 20, 2026
Merged

Fix docker port issues#77
maximedogawa merged 8 commits into
mainfrom
fix-docker-port-issues

Conversation

@maximedogawa
Copy link
Copy Markdown
Collaborator

@maximedogawa maximedogawa commented Apr 20, 2026

Summary by CodeRabbit

  • Documentation

    • Added comprehensive deployment guide with instructions for both production (integrated) and standalone setups.
  • Chores

    • Updated deployment workflow to focus on building the application.
    • Modified port configuration for standalone deployment accessibility.
    • Added host allowlist configuration for preview server.

…service

- Changed the configuration from `expose` to `ports` for the pengine-web service, allowing access to port 1422 from all interfaces.
- Added comments to clarify the purpose of the port mapping for local development and Docker interactions.
- Changed the target directory in the GitHub Actions workflow for deployment to ensure proper file placement.
- Added a new README.md file in the deployment directory, detailing the deployment process, port configuration, and verification steps for the Pengine application.
- Modified the deployment script to create a subdirectory for deployment files, ensuring better organization and file management during the deployment process.
- Modified docker-compose.yml to connect the Pengine service to the external `pengui-network`, allowing proper communication with Pengui's nginx.
- Updated README.md to reflect changes in networking configuration, including deployment order and network name customization for better clarity.
…rking

- Added a new section in README.md to address common networking issues related to the Pengine service and the external `pengui-network`.
- Included detailed instructions for creating the network and adjusting the `.env` file for compatibility with older network names.
@maximedogawa maximedogawa self-assigned this Apr 20, 2026
@maximedogawa maximedogawa merged commit 1273567 into main Apr 20, 2026
1 check was pending
@maximedogawa maximedogawa deleted the fix-docker-port-issues branch April 20, 2026 00:16
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 20, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7bd76b3c-7cbb-42c2-b5ed-4b52440c1d68

📥 Commits

Reviewing files that changed from the base of the PR and between e7081bc and dcdea6e.

📒 Files selected for processing (4)
  • .github/workflows/web-deploy.yml
  • deployment/README.md
  • deployment/docker-compose.yml
  • vite.config.ts

📝 Walkthrough

Walkthrough

The workflow deployment automation is removed, pivoting from auto-deployment to manual procedures. Deployment documentation and Docker Compose configuration are added to support both standalone and Pengui-integrated setups. Vite's preview server now validates allowed hosts via environment configuration.

Changes

Cohort / File(s) Summary
CI Workflow
.github/workflows/web-deploy.yml
Renamed workflow from "Deploy web app" to "Build web app"; removed entire deploy job that handled SSH connectivity, file transfer, and Docker Compose deployment orchestration.
Deployment Configuration
deployment/docker-compose.yml, deployment/README.md
Docker Compose updated to expose port 1422 to host via ports instead of expose. New README documents two deployment modes: production (profile-based integration with Pengui) and local standalone, including environment variables, container management, and troubleshooting guidance.
Web App Configuration
vite.config.ts
Added allowedHosts allowlist to preview server configuration permitting pengine.net, localhost, 127.0.0.1, plus comma-separated hostnames from VITE_PREVIEW_ALLOWED_HOSTS environment variable.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐰 No more workflows rushing through the night,
Manual hands now steer the ship right!
Compose and config dance in harmony,
Docker deployments set containers free! 🚀

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-docker-port-issues

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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