Commit Graph
8 Commits
Author SHA1 Message Date
Artur MoreiraandPaperclip 642dec80dc docs(nginx): clarify wp-admin reachability behind NPM
Align README and deployment.md with reality: allow/deny use $remote_addr
on the CT, so a private-IP reverse proxy makes /wp-admin/ reachable from
the public Internet. Add nginx header comments and optional real_ip notes.

Co-Authored-By: Paperclip <[email protected]>
Made-with: Cursor
2026-03-23 23:13:35 +00:00
Artur MoreiraandPaperclip af0e42c005 devops(wordpress): add verify-db-connection script for MariaDB stack
Add scripts/verify-db-connection.sh to chain compose ps, db healthcheck,
and mysqli from the wordpress container. Document in README runbook,
deployment.md, and .env.example (password vs db_data drift).

Co-Authored-By: Paperclip <[email protected]>
Made-with: Cursor
2026-03-23 23:07:39 +00:00
Artur MoreiraandPaperclip 523f66a15e docs(ops): align WP deploy docs and harden MariaDB healthcheck (BIT-389)
- wordpress/docker-compose.yml: longer db start_period and retries for slow init
- wordpress/README.md: db healthcheck exec step and restart-loop note
- docs/deployment.md: replace stale MySQL 8 snippet with pointer to compose

Co-Authored-By: Paperclip <[email protected]>
Made-with: Cursor
2026-03-23 21:36:33 +00:00
Artur MoreiraandPaperclip a21a27b55b docs(wordpress): troubleshooting DB connection on wp-admin (500)
Diagnose public /wp-admin/ errors that surface as WordPress database
connection failures: verify Docker db health, logs, and .env vs volume.

Co-Authored-By: Paperclip <[email protected]>
Made-with: Cursor
2026-03-23 21:17:52 +00:00
Artur MoreiraandPaperclip 7e61271bc5 feat(nginx): proxy wp-admin e wp-json com allow redes privadas
Co-Authored-By: Paperclip <[email protected]>
Made-with: Cursor
2026-03-23 20:07:55 +00:00
Artur MoreiraandPaperclip c52f9184fe docs(wordpress): como aceder ao wp-admin (LXC e túnel SSH)
Co-Authored-By: Paperclip <[email protected]>
Made-with: Cursor
2026-03-23 20:04:10 +00:00
Artur MoreiraandPaperclip 3cda2063dd feat: headless WordPress Docker Compose setup (BIT-351)
- docker-compose.yml: WordPress 6/PHP8.3 + MariaDB 11, port 8080
- setup.sh: WP-CLI install, headless config, 5 categories, 10 sample articles
- php.ini: upload/memory limits for media-heavy news content
- .env.example: credential placeholders (values in vault)
- README.md: quick-start and REST API reference

Tested on CT 222 (news-project-test, 10.10.50.140):
- REST API /wp-json/wp/v2/ → 200 OK
- 5 categories: Football, Basketball, F1, Tennis, MMA
- 11 posts confirmed via REST API

Co-Authored-By: Paperclip <[email protected]>
Made-with: Cursor
2026-03-23 15:45:36 +00:00
Tiago NevesandPaperclip f7274c9c4e chore: scaffold initial project structure
Creates the base directory layout for the news-platform:
frontend/, bridge/, wordpress/, config/domains/, docs/, deploy/.

Ref: BIT-346 — Create Gitea repo + scaffold project structure

Co-Authored-By: Paperclip <[email protected]>
Made-with: Cursor
2026-03-23 14:06:29 +00:00