Allow configuring the server port (default: 4096) and migrations folder path via environment variables for flexible deployment.