diff --git a/Dockerfile b/Dockerfile index 1c68f89..9eed8c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,5 +7,4 @@ WORKDIR /opt/3x-ui RUN curl -Ls https://github.com/mhsanaei/3x-ui/releases/download/v2.6.6/x-ui-linux-amd64.tar.gz | tar xz --strip-components=1 \ && chmod +x x-ui -EXPOSE 2053 CMD ["./x-ui"] diff --git a/init.py b/init.py index eb6ff00..2607f6d 100644 --- a/init.py +++ b/init.py @@ -18,6 +18,8 @@ services: - /etc/letsencrypt/:/etc/letsencrypt/:rw environment: XRAY_VMESS_AEAD_FORCED: "false" + ports: + - "2053:2053" tty: true networks: - nginx_network_external