Added another port
parent
be6e60bb97
commit
ef2f0ca66c
|
@ -32,6 +32,7 @@
|
|||
- 2377 # cluster management communications
|
||||
- 7946 # communication among nodes
|
||||
- 4789 # overlay network traffic
|
||||
- 9001 # Portainer communication
|
||||
|
||||
- name: Block everything else by default & enable firewall.
|
||||
community.general.ufw:
|
||||
|
|
|
@ -3,14 +3,14 @@ version: '3'
|
|||
|
||||
services:
|
||||
app:
|
||||
image: 'traefik:2.5'
|
||||
image: 'traefik:{{ traefik_version }}'
|
||||
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
- node.hostname == alpha
|
||||
|
||||
networks:
|
||||
- public
|
||||
|
|
Loading…
Reference in New Issue