Skip to content

Commit d4e2959

Browse files
committed
subfolder
1 parent 35b6c3d commit d4e2959

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
replicas: ${SOCKS:-5}
1414

1515
haproxy:
16-
image: haproxy:alpine
16+
build: ./haproxy
1717
restart: always
1818
depends_on:
1919
tor:
@@ -25,7 +25,7 @@ services:
2525
- 1337:1337
2626
volumes:
2727
- haproxy_conf:/usr/local/etc/haproxy
28-
- ./check-tor.sh:/usr/local/etc/haproxy/check-tor.sh
28+
- ./haproxy/check-tor.sh:/usr/local/etc/haproxy/check-tor.sh
2929
networks:
3030
- net_tor
3131

check-tor.sh haproxy/check-tor.sh

File renamed without changes.

haproxy/dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM haproxy:alpine
2+
USER root
3+
RUN apk add --no-cache curl
4+
USER haproxy

0 commit comments

Comments
 (0)