-
Notifications
You must be signed in to change notification settings - Fork 0
Add VPS deployment support with Caddy reverse proxy #483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f5c9b6e to
6164eed
Compare
|
Basic VPS setup works here. There is still some variable cleanup that can be done, but not worth spending more time on. |
Separate docker-compose files for VPS and CI use cases: - docker-compose.yml: VPS deployment with Caddy for automatic HTTPS - docker-compose.ci.yml: CI setup (renamed from existing) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6164eed to
cd76426
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds VPS deployment support with a Caddy reverse proxy to enable production hosting of NeoWiki. The changes separate CI and production configurations, add automatic HTTPS support via Caddy, and improve data persistence with volume mounts for MediaWiki images.
Changes:
- Split docker-compose configuration into production (with Caddy) and CI-specific versions
- Added Caddy reverse proxy service with automatic HTTPS for production deployments
- Added comprehensive deployment documentation in README.md
- Removed anonymous edit permissions in the default configuration
- Added new Makefile targets for importing demo data and updating containers
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| Docker/docker-compose.yml | Removed port mappings, added Caddy service with reverse proxy, added volumes for persistence |
| Docker/docker-compose.ci.yml | New CI-specific compose file maintaining port mappings for testing |
| Docker/Caddyfile | New Caddy configuration for reverse proxy and automatic HTTPS |
| Docker/.env | Updated environment variables with production change markers, removed LOCAL_HOST/LOCAL_IP variables |
| Docker/README.md | New deployment documentation with setup instructions for VPS hosting |
| Docker/Makefile | Updated install-db to use MW_SERVER, added import-demo-data and update targets |
| Docker/SettingsTemplate.php | Disabled anonymous editing by default |
| .github/workflows/build-docker.yml | Updated CI workflow to use docker-compose.ci.yml for testing |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Without this, pulling a new image with DB schema changes would leave the wiki broken until update.php is manually run. Follows-up to #483 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Had CC review this PR and it only came up with this "essential" change: |
Without this, pulling a new image with DB schema changes would leave the wiki broken until update.php is manually run. Follows-up to #483 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
For #482
Generated by Claude Code. Cleaned up and tweaked by be.