From c836ea89a48f53ec1dd05c1dcdc606bb44c8b619 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sun, 22 Jan 2023 21:06:07 +0330 Subject: update --- terminaldweller.com/haproxy/docker-compose.yaml | 48 ++++++++++++++++++------- 1 file changed, 36 insertions(+), 12 deletions(-) (limited to 'terminaldweller.com/haproxy/docker-compose.yaml') diff --git a/terminaldweller.com/haproxy/docker-compose.yaml b/terminaldweller.com/haproxy/docker-compose.yaml index 126613c..ce3f8d5 100644 --- a/terminaldweller.com/haproxy/docker-compose.yaml +++ b/terminaldweller.com/haproxy/docker-compose.yaml @@ -15,31 +15,50 @@ services: - "25:25" - "465:465" - "587:587" + - "127.0.0.1:8404:8404" volumes: - ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro + # - ./certs:/usr/local/etc/certs:ro networks: - proxynet - metricsnet + # - certnet restart: unless-stopped cap_drop: - ALL + # certbot: + # image: certbot + # build: + # context: ./certbot + # ports: + # - "127.0.0.1:9080:80" + # - "127.0.0.1:9443:443" + # networks: + # - certnet + # # restart: unless-stopped + # volumes: + # - ./letsencrypt:/etc/letsencrypt + # - ./webroot:/webroot + # - ./certs:/certs + # # command: ["certonly","--test-cert","--webroot","-w","/webroot","-d","chat.terminaldweller.com","--email","thabogre@gmail.com","--non-interactive","--agree-tos"] + # entrypoint: ["/certbot-entrypoint.sh"] + # environment: + # - DOMAIN=chat.terminaldweller.com + # - EMAIL=devi@mail.terminaldweller.com + # nginx: + # image: nginx + # ports: + # - "127.0.0.1:8080:80" + # networks: + # - certnet + # restart: unless-stopped + # volumes: + # - ./webroot:/usr/share/nginx/html # udpproxy: # image: nginx # ports: # - "127.0.0.1:3478:3478/udp" # - "127.0.0.1:5349:5349/udp" - # - "80:80" - # - "443:443" - # - "5222:5222" - # - "5280:5280" - # - "5443:5443" - # - "143:143" - # - "993:993" - # - "110:110" - # - "995:995" - # - "25:25" - # - "465:465" - # - "587:587" # networks: # - proxynet # restart: unless-stopped @@ -57,11 +76,16 @@ services: - ./conf.yml:/opt/bitnami/prometheus/conf/prometheus.yml:ro environment: - HTTPS_PROXY=socks5h://172.17.0.1:9993 + - https_proxy=socks5h://172.17.0.1:9993 - HTTP_PROXY=socks5h://172.17.0.1:9993 + - http_proxy=socks5h://172.17.0.1:9993 - ALL_PROXY=socks5h://172.17.0.1:9993 + - all_proxy=socks5h://172.17.0.1:9993 - NO_PROXY=localhost,127.0.0.0/8,172.16.0.0/12,10.0.0.0/8,192.168.0.0/16 + - no_proxy=localhost,127.0.0.0/8,172.16.0.0/12,10.0.0.0/8,192.168.0.0/16 networks: proxynet: metricsnet: + # certnet: volumes: metricsvault: -- cgit v1.2.3