mirror of
https://gitlab.com/rusty-bever/deployment.git
synced 2026-06-15 01:36:16 +02:00
Added another port
This commit is contained in:
parent
be6e60bb97
commit
ef2f0ca66c
2 changed files with 3 additions and 2 deletions
|
|
@ -32,6 +32,7 @@
|
||||||
- 2377 # cluster management communications
|
- 2377 # cluster management communications
|
||||||
- 7946 # communication among nodes
|
- 7946 # communication among nodes
|
||||||
- 4789 # overlay network traffic
|
- 4789 # overlay network traffic
|
||||||
|
- 9001 # Portainer communication
|
||||||
|
|
||||||
- name: Block everything else by default & enable firewall.
|
- name: Block everything else by default & enable firewall.
|
||||||
community.general.ufw:
|
community.general.ufw:
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,14 @@ version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: 'traefik:2.5'
|
image: 'traefik:{{ traefik_version }}'
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == manager
|
- node.hostname == alpha
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- public
|
- public
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue