Added the docker-compose file so I can run this service on my server
This commit is contained in:
+2
-2
@@ -17,5 +17,5 @@ RUN useradd aclarke
|
|||||||
USER aclarke
|
USER aclarke
|
||||||
WORKDIR /home/aclarke
|
WORKDIR /home/aclarke
|
||||||
ENV TERM=xterm
|
ENV TERM=xterm
|
||||||
CMD ["/bin/ttyd", "--max-clients", "5", "--writable", "--port", "8080", "/bin/alexjclarke/clash"]
|
CMD ["/bin/ttyd", "--max-clients", "5", "--writable", "--port", "7681", "/bin/alexjclarke/clash"]
|
||||||
EXPOSE 8080
|
EXPOSE 7681
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
services:
|
||||||
|
clash:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
ports:
|
||||||
|
- 7681:7681
|
||||||
|
volumes:
|
||||||
|
- .:/usr/src/clash
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
environment:
|
||||||
|
- TZ=America/Denver
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user