Open GrapesGoober opened 1 week ago
I got the fastapi container to run and connect to mysql container. It works! This is a good solution for now, but I only have test scripts to show for it. Still need to incorporate this into codebase.
@6422781441 I've found a way to auto-run sql script as part of mysql container initialization. Here's the compose.yaml code. Add this new host bind to the volume.
volumes:
- ...
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
Problem