Skip to main content
DCDeploy supports TCP proxies for workloads that require raw TCP connections
(e.g., databases, custom services, or non-HTTP protocols).

When to Use

  • Running PostgreSQL, MySQL, or other TCP-based services.
  • Exposing internal tools that don’t use HTTP.
  • Secure external access to non-web workloads.

Configuration

  1. Go to Deploy-tab → Add database.
  2. Enable TCP Proxy.
  3. Select the port(s) you want exposed.
  4. A public TCP endpoint will be provisioned.

Example: PostgreSQL

services:
  mysql-db:
    engine: mysql:9
    ports:
      - "5432"
    proxy: true

Result:

Public TCP URL → mysql://USERNAME:PASSWORD@mysql-9myyqbqq9e.tcp-proxy-2212.dcdeploy.cloud:30298/mysql-db

Security Notes

  • Always require authentication (databases, SSH).
  • Restrict IP access using firewall rules if possible.
  • Use TLS where supported.