1
0
Fork 0

Fix Swarm networking

This commit is contained in:
Joao Gilberto Magalhaes 2023-02-27 23:28:09 -06:00
parent aa5f8055f5
commit c0eb766339
3 changed files with 31 additions and 75 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,5 @@
# To Install
# docker network create --driver overlay --attachable easyhaproxy
# docker stack deploy -c easyhaproxy.yml easyhaproxy
@ -6,7 +7,7 @@ version: "3"
services:
haproxy:
image: byjg/easy-haproxy:4.3.1-rc1
image: byjg/easy-haproxy:4.3.1-rc2
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./certs:/certs/haproxy
@ -25,6 +26,12 @@ services:
- "80:80/tcp"
- "443:443/tcp"
- "1936:1936/tcp"
networks:
- easyhaproxy
networks:
easyhaproxy:
external: true
volumes:
certs_letsencrypt: