diff --git a/Dockerfile b/Dockerfile index dedf00f..3849e8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,2 @@ -FROM debian:bullseye-slim +FROM alireza0/x-ui:latest -RUN apk add --no-cache bash curl tar ca-certificates - -WORKDIR /opt/3x-ui -# username FSGChr9G0x; password mmpwYHix7; port 11111 -RUN echo -e "n\n" | bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) - -EXPOSE 2053 -CMD ["./x-ui"] diff --git a/init.py b/init.py index 665f3ec..c8781ea 100644 --- a/init.py +++ b/init.py @@ -12,6 +12,7 @@ services: {name}-3x-ui: build: . container_name: {name}-3x-ui + image: alireza0/x-ui:latest volumes: - ./data:/opt/x-ui/db networks: