fix the api endpoint example

for docker the api endpoint has /api because only one port is exposed