> For the complete documentation index, see [llms.txt](https://www.trentbauer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.trentbauer.com/guides/installation-guides/pelican/optional-adminer-proxy.md).

# Optional: Adminer proxy

{% hint style="info" %}
You can access Adminer locally at the relevant port - this will most likely be enough and you don't need to expose it. If you are hosting on a VPS or do not have LAN access to the machine, you will need to set up the proxy to use it.
{% endhint %}

## If you do need to expose it,

Add the following lines to your .env file and restart your pull your docker compose config

```
ADMINER_PROXY=true
ADMINER_SUBDOMAIN=db
ADMINER_POLICY=default_tld
```

Your Adminer instance will be available at db.yourdomain.com.&#x20;

Deleting the `ADMINER_PROXY=true` variable from your env and pulling your compose will remove the proxy.

{% hint style="danger" %}
Please test and ensure that the link is secure, as you may exposing your database, without authentication, to the internet
{% endhint %}
