How to change localhost:5678 from webhook url?

Hmm, at this point, I am not sure what would be the best for you, but here what would I do:

  1. From your link there is an n8n with PostgreSQL at the neighbor folder. Clone this one to the server: n8n/docker/compose/withPostgres at master · n8n-io/n8n · GitHub
  2. Change usernames and passwords in .env file accordingly
  3. Add - WEBHOOK_URL=https://your domain name to the environment: section of the n8n service in docker-compose.yml file
  4. Remove --tunnel part of the start command n8n start --tunnel in docker-compose.yml file
  5. run
docker-compose up -d

and you can stop it with

docker-compose stop