# databases.<name>.public

> Public access through the TCP proxy.

Public access through the TCP proxy. Off by default; turning it on needs human approval.

- **Type:** object
- **Since:** manifest v1

## Example

```yaml
databases:
  main:
    public:
      enabled: true
      allow_ips:
        - 203.0.113.4/32
```

## Fields

### enabled

`databases.<name>.public.enabled`

Expose the database on a public port with TLS.

- **Type:** boolean
- **Since:** manifest v1

```yaml
databases:
  main:
    public:
      enabled: false
```

### allow_ips

`databases.<name>.public.allow_ips`

CIDR allowlist (mandatory on Hobby).

- **Type:** list of string
- **Since:** manifest v1

```yaml
databases:
  main:
    public:
      allow_ips:
        - 203.0.113.4/32
```

## See also

- [databases](/docs/manifest/databases/): all fields of `databases`
- [guv.yaml reference](/docs/manifest/)
