# Cannot access docker graylog web

**URL:** https://community.graylog.org/t/cannot-access-docker-graylog-web/8390
**Category:** Graylog Central (peer support)
**Created:** [January 16, 2019, 4:50am UTC](https://community.graylog.org/t/cannot-access-docker-graylog-web/8390 "2019-01-16T04:50:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ciekawy](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/ciekawy/32/3622_2.png) [@ciekawy](https://community.graylog.org/u/ciekawy)
#### Post date: [January 16, 2019, 4:50am UTC](https://community.graylog.org/t/cannot-access-docker-graylog-web/8390/1 "2019-01-16T04:50:32Z")

</div>

Hi there!

I found few similar questions with no real answer - the closest one is this: [Cannot get web admin to work](https://community.graylog.org/t/cannot-get-web-admin-to-work/7789)

I’ve tried both graylog 2.5 and 3 with same results - most of the time the HTML contains references to urls containing internal docker ip instead of relative ones or with external address. What’s interesting it randomly works - once per 10-20 requests (or docker compose restarts - hard to say). I tried various variables for GRAYLOG\_WEB\_ENDPOINT\_URI, GRAYLOG\_REST\_LISTEN\_URI, GRAYLOG\_WEB\_LISTEN\_URI without real success.

Wonder if there is any reliable solution for this? I am using docker-compose file from the settings running docker containers inside VPS with external IP and domain name assigned.

Regards!  
Szymon

---

<div class="post-metadata">

### Author: ![ciekawy](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/ciekawy/32/3622_2.png) [@ciekawy](https://community.graylog.org/u/ciekawy)
#### Post date: [January 16, 2019, 5:48am UTC](https://community.graylog.org/t/cannot-access-docker-graylog-web/8390/2 "2019-01-16T05:48:39Z")

</div>

one workaround (which actually makes a lot of sense) is to add to a docker-compose.yml a openvpn instance and then reach out directly to a docker ip to talk to graylog

still I am curious to know if its possible to start the docker compose and access it from outside

---

<div class="post-metadata">

### Author: ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)
#### Post date: [January 16, 2019, 6:51am UTC](https://community.graylog.org/t/cannot-access-docker-graylog-web/8390/3 "2019-01-16T06:51:57Z")

</div>

In my lab environment I have used NGINX to proxy that:

> <https://github.com/jalogisch/d-gray-lab/blob/master/docker-compose.yml>

And in the Documentation given `docker-compose` file you only need to adjust one setting. `GRAYLOG_WEB_ENDPOINT_URI` to be the URL that is reachable by your Webbrowser.

[http://docs.graylog.org/en/2.5/pages/installation/docker.html#persisting-data](http://docs.graylog.org/en/2.5/pages/installation/docker.html#persisting-data)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)
#### Post date: [January 30, 2019, 6:56am UTC](https://community.graylog.org/t/cannot-access-docker-graylog-web/8390/4 "2019-01-30T06:56:37Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
