Commit graph

5 commits

Author SHA1 Message Date
Claude
924e8e223f
fix: switch from SQLite to MariaDB for production
Database now uses native MariaDB (lthn_io database). Container
connects via host.docker.internal:3306. Claims persisted in proper
RDBMS that survives container rebuilds.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 11:39:13 +01:00
Claude
faa0d89e8d
fix: SQLite database path in container + create on build
Container was using host path for SQLite. Now creates database.sqlite
during Docker build and sets DB_DATABASE=/app/database/database.sqlite
in compose env. Migrations run on startup via laravel-entrypoint.sh.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 11:36:08 +01:00
Claude
7070d45e1c
fix: lthn.io running on FrankenPHP Octane via Docker
Container on noc-net network for Traefik DNS resolution.
Traefik routes to http://lthn-io:80. All pages serving 200.
Disabled Mod/Home (conflicting / route), disabled subdomain
Website modules (Octane can't scope routes by domain at boot).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 11:08:24 +01:00
Claude
5d38d09c3a
wip: FrankenPHP container setup (Octane + Supervisor)
Dockerfile from hostuk (FrankenPHP 1-php8.5), stripped scorer binary.
Supervisor config simplified for lthn.io (no horizon/reverb).
Octane + Predis installed. docker-compose.yml with Traefik labels,
host.docker.internal for daemon/wallet/LNS access, file cache.

TODO: Fix view namespace resolution inside container (localhost
doesn't match Lethean $domains). Need to add localhost to Lethean
$domains or test with proper Host header.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 10:54:20 +01:00
Claude
c89bee8e51
feat: add FrankenPHP + Octane Dockerfile and docker-compose
Copied production-quality Dockerfile from hostuk (FrankenPHP 1-php8.5,
Octane, Supervisor, Redis). Added docker-compose.yml with Traefik
labels for lthn.io, api.lthn.io, docs.lthn.io, explorer.lthn.io.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 10:36:42 +01:00