Let $\mathcal D_1$ and $\mathcal D_2$ be two uniformities on $X$ which produce the same topologies on $X$ (say $\mathcal T= \mathcal T _{\mathcal D_1}=\mathcal T _{\mathcal D_2}$).
If $(X,\mathcal T)$ is compact and Hausdorff, is $\mathcal D_1$ the same as $\mathcal D_2$?
Yes, compact Hausdorff spaces have a unique uniformity compatible with their topology.
I assume you already know that the system $\mathcal{D}_0$ of all neighborhoods of the diagonal $\Delta = \{(x,x) \in X \times X \mid x \in X\}$ of $X \times X$ is a uniformity on a compact Hausdorff space $X$. This is not trivial, however, it is not very hard to prove.
Suppose $\mathcal{D}$ is another uniformity on $(X,\mathcal{T})$ inducing the topology. Then $\mathcal{D} \subseteq \mathcal{D}_0$. Let us show the reverse inclusion.
Since $X$ is Hausdorff, the diagonal $\Delta = \{(x,x) \in X \times X \mid x \in X\}$ is equal to the intersection of all closures of entourages of the diagonal: $$ \Delta = \bigcap_{U \in \mathcal{D}} \overline{U}. $$ Let $W \supseteq \Delta$ be an open neighborhood of the diagonal, so $W \in \mathcal{D}_0$. Then $$X \times X = W \cup \Delta^c = W \cup \bigcup_{U \in \mathcal{D}} \overline{U}^c$$ and by compactness of $X \times X$ there are $U_1,\dots,U_n$ such that $$X \times X = W \cup \overline{U}_{1}^c \cup \dots \cup \overline{U}_{n}^c,$$ so $W \supseteq \overline{U}_{1} \cap \dots \cap \overline{U}_{n} \supseteq U_1 \cap \dots \cap U_n$ and hence $W \in \mathcal{D}$.