Commit b45e95b
Add DB2 auto-initialization support
Implemented auto-initialization for DB2 container using inline bash command:
- Added healthcheck to ensure DB2 database is ready before running init script
- Auto-loads Chinook database with all tables and data on startup
- Uses inline command in docker-compose.yml (no external script files needed)
- Cleaned up environment variables and fixed BLU syntax error
Database initialization verified with 275 artists loaded across 11 tables.
Note: DB2 .NET tests cannot run on macOS ARM64 due to IBM.Data.DB2.Core library limitations,
but the database container itself works correctly and can be tested via docker exec.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent a271523 commit b45e95b
1 file changed
+17
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
| 22 | + | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
30 | 29 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 30 | | |
35 | 31 | | |
36 | 32 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| |||
0 commit comments