Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
willglynn
on March 20, 2018
|
parent
|
context
|
favorite
| on:
Ask HN: How long does it take to setup your dev en...
We've taken this a step further: `docker-compose.yml` uses a database image that has seed data baked right in. It's great.
Axsuul
on March 20, 2018
[–]
Cool! Do you have an example? Super interested.
diggan
on March 20, 2018
|
parent
[–]
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: