chore(local): seed schemas, reference data and a dev admin login
Schema from a Tastefully schema-only dump with data rows, AUTO_INCREMENT counters and DEFINER users stripped. Reference rows from an allow-list of service-system lookup tables (no user, member, attendance or order data; supported_user_agent rows omitted). Adds a local company row and an admin/colite-dev-admin login. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
f4bf239679
commit
b3fcb2883a
5 files changed
+6414
-3
No files matched your search
@@ -3,6 +3,8 @@ name: co-lite
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:8.0
|
||||
# Match the Tastefully server: dumped functions are not declared DETERMINISTIC, and some tables exceed strict row-size limits.
|
||||
command: --log-bin-trust-function-creators=1 --innodb-strict-mode=OFF
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${MYSQLPWD}
|
||||
ports: ["3307:3306"]
|
||||
@@ -10,7 +12,8 @@ services:
|
||||
- mysql-data:/var/lib/mysql
|
||||
- ./seed:/docker-entrypoint-initdb.d:ro
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-p${MYSQLPWD}"]
|
||||
# TCP, not the socket: the init-time server has networking off, so this only passes after seeding.
|
||||
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-p${MYSQLPWD}"]
|
||||
interval: 5s
|
||||
retries: 60
|
||||
redis:
|
||||
|
||||
Reference in new issue
Block a user