Skip to content

Commit

Permalink
Add initial version of the dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
weareomid committed Jan 20, 2023
1 parent 09d388e commit 1d4cda7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/.idea
**/.github
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM ubuntu:20.04

COPY . /opt/hiddify-config/
WORKDIR /opt/hiddify-config/
ENV TERM xterm
ENV TZ Etc/UTC
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y dialog apt-utils curl sudo systemd python2 xxd lsof

#RUN curl -L https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl.py -o /usr/bin/systemctl
RUN bash -c "$(cat config.env.docker) $(cat install.sh)"
14 changes: 14 additions & 0 deletions config.env.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
DO_NOT_RUN=true
ENABLE_SS=true
ENABLE_TELEGRAM=true
ENABLE_VMESS=true
ENABLE_MONITORING=true
ENABLE_FIREWALL=true
ENABLE_NETDATA=true
ENABLE_HTTP_PROXY=true
ALLOW_ALL_SNI_TO_USE_PROXY=true
ENABLE_AUTO_UPDATE=true
ENABLE_TROJAN_GO=true
ENABLE_SPEED_TEST=true
BLOCK_IR_SITES=true
ONLY_IPV4=true

0 comments on commit 1d4cda7

Please sign in to comment.