# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.trentbauer.com/guides/installation-guides/pelican/optional-adminer-proxy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
