This repository contains ready-made images for running 3X-UIâ in isolated containers (docker/podman).
3X-UI â is a modern and functional web control panel designed for easy configuration and administration of the powerful Xray core. It allows you to deploy a full-fledged proxy server in a few clicks with support for the most up-to-date and secure protocols such as VLESS, VMess, Trojan, Shadowsocks, and Hysteria2.
Main advantages:
This project and the provided Docker images are intended for educational purposes and personal use only.
Implementation features:
healtcheck to control the service status.Example commands to start the service via Docker Runâ :
# Root
$ docker run -d --name 3x-ui -p 2053:2053 crasivo/3x-ui
# Rootless
$ docker run -d --name 3x-ui -p 2053:2053 --user xray crasivo/3x-ui
After a successful launch, you can go to the control panel at http://localhost:2053â
Login details â admin:admin. Fine-tuning for starting the container is described below.
Below is an example of a simple docker-compose.yml configuration file for starting the service
via Docker Composeâ .
name: 3x-ui
services:
3x-ui:
image: crasivo/3x-ui
container_name: 3x-ui
restart: unless-stopped
environment:
- "XUI_ADMIN_USERNAME=admin"
- "XUI_ADMIN_PASSWORD=2UWGn9Ptw6mHmYEPqsvH"
network_mode: host
hostname: 3x-ui
The image supports service configuration via environment variables.
Summary table of available environment variables:
| Env variable | Example | Default | Additional description |
|---|---|---|---|
XUI_ADMIN_USERNAME | admin | admin | Username (administrator) of the Web panel |
XUI_ADMIN_USERNAME_FILE | /run/secrets/xui_admin.name | â | Absolute path to the file where the username is stored |
XUI_ADMIN_PASSWORD | 2UWGn9Ptw6mHmYEPqsvH | admin | Administrator password for the Web panel |
XUI_ADMIN_PASSWORD_FILE | /run/secrets/xui_admin.pass | â | Absolute path to the file where the password is stored |
XUI_WEB_BASEPATH | /x-ui/ | / | Web path to the control panel |
XUI_WEB_CERT | /usr/local/x-ui/certs/certificate.pem | â | Absolute path to the public SSL certificate |
XUI_WEB_CERT_KEY | /usr/local/x-ui/certs/private_key.pem | â | Absolute path to the private key of the SSL certificate |
This project is distributed under the MITâ license.
Content type
Image
Digest
sha256:fc0dd5451âĻ
Size
74.4 MB
Last updated
4 months ago
docker pull crasivo/3x-ui:2.8.10