mirror of
https://github.com/sadoyan/aralez.git
synced 2026-05-30 03:44:06 +08:00
Dockerfile #21
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
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"]
|
||||||
@@ -111,7 +111,7 @@ For getting the best performance on newer hardware use `aralez-x86_64-*.gz`.
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-v /local/path/to/config:/etc/aralez:ro \
|
-v /local/path/to/config:/etc/aralez:rw \
|
||||||
-p 80:80 \
|
-p 80:80 \
|
||||||
-p 443:443 \
|
-p 443:443 \
|
||||||
sadoyan/aralez
|
sadoyan/aralez
|
||||||
|
|||||||
Reference in New Issue
Block a user