Since $0=a^2+b^2+c^2-ac-ab\sqrt{3}=\left(b-\frac{\sqrt{3}}2a\right)^2+\left(c-\frac12a\right)^2\,,$ we have $b=\frac{\sqrt{3}}2a$ and $c=\frac{1}{2}a$. Thus, $\angle A=\frac{\pi}{2}$, $\angle B=\frac{\pi}{3}$, and $\angle C=\frac{\pi}{6}$.
It can be shown that, if $\alpha,\beta,\gamma\in(0,\pi)$ and $\alpha+\beta+\gamma=\pi$, then there is a unique triangle $ABC$, up to scaling, with $BC=a$, $CA=b$, and $AB=c$ such that $$a^2+b^2+c^2=2bc\cos(\alpha)+2ca\cos(\beta)+2ab\cos(\gamma)\,.$$
To show this, one observes that the matrix $$\textbf{X}:=\begin{bmatrix}1&-\cos(\gamma)&-\cos(\beta)\\-\cos(\gamma)&1&-\cos(\alpha)\\-\cos(\beta)&-\cos(\alpha)&1\end{bmatrix}$$ is positive-semidefinite and the eigenspace associated with the eigenvalue $0$ of $\textbf{X}$ is spanned by $\begin{bmatrix}\sin(\alpha)\\\sin(\beta)\\\sin(\gamma)\end{bmatrix}$.