aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/haproxy/docker-compose.yaml
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-09-30 02:14:13 +0000
committerterminaldweller <thabogre@gmail.com>2021-09-30 02:14:13 +0000
commit47e7770dc4aac0cc8767935558a0c8cae74632c1 (patch)
treed179f93bea23c81df424d8a5d45951116424e1d8 /terminaldweller.com/haproxy/docker-compose.yaml
parenthaproxy,jabber,bitlbee (diff)
downloadscripts-47e7770dc4aac0cc8767935558a0c8cae74632c1.tar.gz
scripts-47e7770dc4aac0cc8767935558a0c8cae74632c1.zip
opewrt,haproxy,nginx,ejabberd,....
Diffstat (limited to 'terminaldweller.com/haproxy/docker-compose.yaml')
-rw-r--r--terminaldweller.com/haproxy/docker-compose.yaml36
1 files changed, 30 insertions, 6 deletions
diff --git a/terminaldweller.com/haproxy/docker-compose.yaml b/terminaldweller.com/haproxy/docker-compose.yaml
index 571fa7c..f24d17c 100644
--- a/terminaldweller.com/haproxy/docker-compose.yaml
+++ b/terminaldweller.com/haproxy/docker-compose.yaml
@@ -1,16 +1,29 @@
-version: "3.4"
+version: "3.4"
services:
haproxy:
image: haproxy
ports:
- "80:80"
- "443:443"
+ - "5222:5222"
+ - "5280:5280"
+ - "5443:5443"
+ - "143:143"
+ - "993:993"
+ - "110:110"
+ - "995:995"
+ - "25:25"
+ - "465:465"
+ - "587:587"
volumes:
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
- ./certs:/usr/local/etc/certs:ro
networks:
- - haproxynet
+ - proxynet
+ - certnet
restart: unless-stopped
+ cap_drop:
+ - ALL
certbot:
image: certbot
build:
@@ -19,7 +32,7 @@ services:
- "127.0.0.1:9080:80"
- "127.0.0.1:9443:443"
networks:
- - haproxynet
+ - certnet
# restart: unless-stopped
volumes:
- ./letsencrypt:/etc/letsencrypt
@@ -29,15 +42,26 @@ services:
entrypoint: ["/certbot-entrypoint.sh"]
environment:
- DOMAIN=chat.terminaldweller.com
- - EMAIL=thabogre@gmail.com
+ - EMAIL=devi@mail.terminaldweller.com
nginx:
image: nginx
ports:
- "127.0.0.1:8080:80"
networks:
- - haproxynet
+ - 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"
+ networks:
+ - proxynet
+ restart: unless-stopped
+ volumes:
+ - ./nginx.conf:/etc/nginx/nginx.conf:ro
networks:
- haproxynet:
+ proxynet:
+ certnet: