Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We've taken this a step further: `docker-compose.yml` uses a database image that has seed data baked right in. It's great.


Cool! Do you have an example? Super interested.


It's pretty trivial (not the OP but done that before). Instead of specifying `mysql:5.6` as a image in docker-compose.yml, create a Dockerfile from `mysql:5.6` and run the queries when building the image.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: