Просмотр исходного кода

Merge pull request #1530 from gregorybrzeski/url-fix

ghost: fix example to improve UX for first time users
Tianon Gravi 6 лет назад
Родитель
Сommit
7b9559bf9d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ghost/content.md

+ 1 - 1
ghost/content.md

@@ -19,7 +19,7 @@ $ docker run -d --name some-ghost %%IMAGE%%
 If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used:
 
 ```console
-$ docker run -d --name some-ghost -p 3001:2368 %%IMAGE%%
+$ docker run -d --name some-ghost -e url=http://localhost:3001 -p 3001:2368 %%IMAGE%%
 ```
 
 Then, access it via `http://localhost:3001` or `http://host-ip:3001` in a browser.