How do I change the name of the client from wg-easy docker-compose with Pi-hole?

Never mind. I found the solution from this post

It's local DNS > DNS Records.