Skip to content

Make the Docker image MySQL-only - #33

Merged
fiforms merged 1 commit into
masterfrom
docker-mysql-only
Nov 11, 2026
Merged

fiforms merged 1 commit into
masterfrom
docker-mysql-only

Conversation

@fiforms

@fiforms fiforms commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Docker image is MySQL-only; SQLite remains a development-only option outside Docker
  • docker/compose.yaml now includes the MySQL 8.4 service (the compose.mysql.yaml overlay is removed); still starts with no .env and no secrets
  • Existing MySQL server: set DB_* in .env and run docker compose up -d --no-deps app
  • Image adds the MySQL client tools (mysql-client + mariadb-connector-c) needed by the planned backup feature
  • Entrypoint no longer creates a SQLite file; README and .env.example updated

Testing

  • Image builds; in throwaway containers against mysql:8.4, dump → drop table → restore → read back works with mariadb-dump/mariadb --skip-ssl (the client rejects MySQL's self-signed cert by default, and Alpine's client needs mariadb-connector-c for caching_sha2_password)
  • docker compose config validates
  • The full stack (docker compose up) has not been run end to end

Follow-ups

  • Backup feature (admin page + backup:create/backup:restore, mysqldump based)
  • One-way SQLite → MySQL import command

🤖 Generated with Claude Code

Compose now bundles MySQL 8.4 directly (the compose.mysql.yaml overlay is
folded in); SQLite is no longer supported in the image and stays a
development-only option. The image gains the MySQL client tools
(mysql-client + mariadb-connector-c for MySQL 8.4's caching_sha2_password)
for the upcoming backup feature. Using an external MySQL server is done via
DB_* in .env and 'docker compose up -d --no-deps app'.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@fiforms
fiforms merged commit 354aa31 into master Nov 11, 2026
1 check passed
@fiforms
fiforms deleted the docker-mysql-only branch November 11, 2026 02:15
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.

1 participant