Commit Graph
10 Commits
Author SHA1 Message Date
shadowdaoandClaude Sonnet 5.5 ce9fd87183 local-dev.sh: start a working container end to end
- mkdir of user/logs/{apache,system} was quoted (literal {apache,system} dir) and is no longer needed: the entrypoint creates logs itself
- drop the /var/log and /etc/httpd/logs bind mounts, which collided with the entrypoint (mv of /var/log/httpd: Device or resource busy, then 'unsafe entry' refusal to start)
- read credentials from /home/<user>/mysql_creds (where the entrypoint writes them), not /var/lib/mysql/creds
- -a N (and the default 83) now selects the image tag cac:phpNN instead of always pulling latest (latest is PHP 8.5); validated; CAC_IMAGE overrides for a locally built image
- wait for the container to be healthy (or fail with its logs) instead of sleep 160; WordPress download runs as the user and only into an empty web root
- instance_logs/instance_db_info use docker logs / the right creds path
- new flags -d (DOCROOT_SUBDIR) and -x (XDEBUG) and PUBLIC_HTTPS_PORT are passed through; they take effect with the image changes in the following commits

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6
2026-11-23 06:03:23 -08:00
shadowdao 527ba5cf58 Adding better backups and log rotation, and updating files around it 2024-10-14 19:30:51 -07:00
shadowdao bbd2de6792 Update for log rotation and backups 2024-10-14 12:15:11 -07:00
shadowdao b3e284a547 Fixing script to add more time for startup and add backup crons for database 2024-10-02 13:21:49 -07:00
shadowdao 3d3e353c66 Update script to default to PHP 8.3 and have options 2024-10-02 11:55:22 -07:00
shadowdao 36757fac8f fix docker command 2024-10-02 09:43:47 -07:00
shadowdao 0c8bdc4f04 Update local-dev script 2024-10-02 09:40:53 -07:00
shadowdao b6fe0d77fd update script to setup the config 2024-01-30 16:40:42 -08:00
shadowdao 2e912bc4ab update script 2024-01-30 14:01:46 -08:00
shadowdao 3ec1fa1a07 Adding script to make it easier to create local development 2024-01-30 13:34:03 -08:00