Change the way the portainer ports are exposed.
This commit is contained in:
parent
a8e4d547b3
commit
372a0dfa51
|
@ -43,9 +43,18 @@ services:
|
|||
{% if docker_swarm_cluster_haproxy_install %}
|
||||
|
||||
ports:
|
||||
- "9443:9443"
|
||||
- "9000:9000"
|
||||
- "8000:8000"
|
||||
- target: 9443
|
||||
published: 9443
|
||||
protocol: tcp
|
||||
mode: 'ingress'
|
||||
- target: 9000
|
||||
published: 9000
|
||||
protocol: tcp
|
||||
mode: 'ingress'
|
||||
- target: 8000
|
||||
published: 8000
|
||||
protocol: tcp
|
||||
mode: 'ingress'
|
||||
{% endif %}
|
||||
volumes:
|
||||
- portainer_server_data:/data
|
||||
|
|
Loading…
Reference in New Issue