add compose

This commit is contained in:
seiry 2023-04-10 22:58:18 +08:00
parent a9c3da341e
commit 5951fefcaf
No known key found for this signature in database
GPG Key ID: 1F392C1EF1F7DCB8
3 changed files with 32 additions and 1 deletions

View File

@ -15,5 +15,4 @@ RUN true && \
rm -rf /var/lib/apt/lists/* && \
chmod +x /entrypoint.sh
EXPOSE 40000/tcp
ENTRYPOINT [ "/entrypoint.sh" ]

View File

@ -9,3 +9,22 @@ docker run -d -p 40000:40000 --restart unless-stopped seiry/cloudflare-warp-prox
```
SOCKS5 proxy server will be listening at port 40000.
## docker-compose
```yml
version: "3.0"
services:
cloudflare-warp-proxy:
image: seiry/cloudflare-warp-proxy
network_mode: bridge
ports:
- 40000:40000
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 1m
```

View File

@ -0,0 +1,13 @@
version: "3.0"
services:
cloudflare-warp-proxy:
image: seiry/cloudflare-warp-proxy
network_mode: bridge
ports:
- 40000:40000
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 1m