We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35b6c3d commit d4e2959Copy full SHA for d4e2959
docker-compose.yml
@@ -13,7 +13,7 @@ services:
13
replicas: ${SOCKS:-5}
14
15
haproxy:
16
- image: haproxy:alpine
+ build: ./haproxy
17
restart: always
18
depends_on:
19
tor:
@@ -25,7 +25,7 @@ services:
25
- 1337:1337
26
volumes:
27
- haproxy_conf:/usr/local/etc/haproxy
28
- - ./check-tor.sh:/usr/local/etc/haproxy/check-tor.sh
+ - ./haproxy/check-tor.sh:/usr/local/etc/haproxy/check-tor.sh
29
networks:
30
- net_tor
31
check-tor.sh haproxy/check-tor.sh
haproxy/dockerfile
@@ -0,0 +1,4 @@
1
+FROM haproxy:alpine
2
+USER root
3
+RUN apk add --no-cache curl
4
+USER haproxy
0 commit comments