The official Gitea Docker installation docs are what I follow in this video. They provide multiple Docker Compose examples (MySQL, PostgreSQL, and more), so you can pick what matches your stack. This is the best place to confirm the latest compose options and defaults like port 3000.
You'll be taken to Docs to complete your purchase.