Does "post" mean the same thing in these two sentences?

There is an officer's club on the post.

This military post provides an important source of income for the town nearby.
the same meaning