selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
autoxpose logo

Self-host autoxpose

v0.6.0

Automatic DNS and reverse proxy for Docker containers

BetaOpen SourceMIT
Updated9 hours ago
LanguageTypescript
Setup difficultyModerate
Stars
149
Port
3000 (Web UI)
Docker
mostafawahied/autoxpose
Install with Docker
autoxpose Dashboard Screenshot

What is autoxpose?

autoxpose is a self-hosted application that automates DNS and reverse proxy setup for Docker containers. Users label their containers, and the tool discovers them, creates DNS records with providers like Cloudflare, Netlify, DigitalOcean, Porkbun, Aliyun, and Tencent Cloud DNSPod, and configures reverse proxy hosts in Nginx Proxy Manager or Caddy with automatic SSL. It includes automatic service discovery, an auto-expose mode, service tagging with colored badges, orphaned resource cleanup, and runs as a single container with an embedded SQLite database. The web UI runs on port 3000 (mapped to 4949 by default) and is configured via SERVER_IP and LAN_IP environment variables. No external dependencies are needed beyond Docker and the chosen DNS/proxy providers.

Should you self-host autoxpose?

autoxpose scores 43/100 on selfhost.directory (how scoring works) and ranks #25 of 34 in Network Management. It has 149 GitHub stars.

It shipped 9 stable releases in the past year. The latest, v0.6.0, came out on 8 October 2026. New versions land roughly every 5 weeks.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is 3x-ui (84/100, 48 772 stars). It scores higher overall, so compare the two before you pick. See autoxpose vs 3x-ui side by side.

Features

  • Auto-expose mode
  • Automatic container discovery
  • Automatic SSL Certificate Management
  • Caddy Integration
  • DNS record management
  • Docker socket proxy support
  • Embedded SQLite database
  • Nginx Proxy Manager integration
  • Orphaned Resource Cleanup
  • Portainer stack deployment
  • Service tagging
  • TrueNAS Scale support

autoxpose README

How to install autoxpose

Install autoxpose with Docker

Environment variables
SERVER_IP (required), LAN_IP (required), DOCKER_HOST (optional), LOG_LEVEL (optional)

docker run -d
--name autoxpose
--restart unless-stopped
-p 4949:3000
-e SERVER_IP=your-public-ip
-e LAN_IP=your-lan-ip
-v autoxpose-data:/app/packages/backend/data
-v /var/run/docker.sock:/var/run/docker.sock:ro
mostafawahied/autoxpose:latest

Alternative to Docker Compose for single-container deployment.

How to configure autoxpose

  • DOCKER_HOSTTCP endpoint when using a socket proxy

    TCP endpoint when using a socket proxy

  • LAN_IPLAN/private IP for proxy targets (auto-detected as fallback)

    LAN/private IP for proxy targets (auto-detected as fallback)

  • LOG_LEVELLogging level: debug, info, warn, error

    Logging level: debug, info, warn, error

    values: debug, info, warn, error

  • SERVER_IPPublic IP or hostname for DNS A records

    Public IP or hostname for DNS A records

autoxpose releases & version history

More in DNS

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…