Skip to content

Conversation

@malberts
Copy link
Collaborator

@malberts malberts commented Jan 29, 2026

For #482

Generated by Claude Code. Cleaned up and tweaked by be.

@malberts malberts force-pushed the add-vps-deployment branch 7 times, most recently from f5c9b6e to 6164eed Compare January 30, 2026 18:29
@malberts malberts marked this pull request as ready for review January 30, 2026 18:37
@malberts malberts changed the title WIP Add VPS deployment support with Caddy reverse proxy Add VPS deployment support with Caddy reverse proxy Jan 30, 2026
@malberts
Copy link
Collaborator Author

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>
@malberts malberts requested review from Copilot and removed request for Copilot January 30, 2026 18:45
Copy link
Contributor

Copilot AI left a 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.

JeroenDeDauw added a commit that referenced this pull request Jan 30, 2026
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>
@JeroenDeDauw
Copy link
Member

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>
@JeroenDeDauw JeroenDeDauw merged commit a0a69ad into master Jan 30, 2026
6 checks passed
@JeroenDeDauw JeroenDeDauw deleted the add-vps-deployment branch January 30, 2026 23:24
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.

3 participants