mirror of
https://github.com/sadoyan/aralez.git
synced 2026-05-30 03:44:06 +08:00
Removed Dockerfile, put content to README
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -1,13 +0,0 @@
|
|||||||
FROM debian:trixie-slim
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y ca-certificates curl net-tools iputils-ping
|
|
||||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
COPY aralez /usr/local/bin/aralez
|
|
||||||
|
|
||||||
RUN chmod +x /usr/local/bin/aralez
|
|
||||||
RUN mkdir -p /etc/aralez/certs/upstreams
|
|
||||||
|
|
||||||
WORKDIR /etc/aralez
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/aralez", "-c", "/etc/aralez/main.yaml"]
|
|
||||||
18
README.md
18
README.md
@@ -113,6 +113,24 @@ For getting the best performance on newer hardware use `aralez-x86_64-*.gz`.
|
|||||||
docker run -d -v /path/to/config:/etc/aralez:rw -p 80:80 -p 443:443 sadoyan/aralez
|
docker run -d -v /path/to/config:/etc/aralez:rw -p 80:80 -p 443:443 sadoyan/aralez
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Dockerfile :**
|
||||||
|
|
||||||
|
```dockerfile
|
||||||
|
FROM debian:trixie-slim
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y ca-certificates curl net-tools iputils-ping
|
||||||
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
COPY aralez /usr/local/bin/aralez
|
||||||
|
|
||||||
|
RUN chmod +x /usr/local/bin/aralez
|
||||||
|
RUN mkdir -p /etc/aralez/certs/upstreams
|
||||||
|
|
||||||
|
WORKDIR /etc/aralez
|
||||||
|
|
||||||
|
ENTRYPOINT ["/usr/local/bin/aralez", "-c", "/etc/aralez/main.yaml"]
|
||||||
|
```
|
||||||
|
|
||||||
## Running the Proxy
|
## Running the Proxy
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user