Stop opening http/https ports when using macvlan
This commit is contained in:
5
bootstrap.docker-compose.local.yml
Normal file
5
bootstrap.docker-compose.local.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
services:
|
||||
traefik:
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
@@ -1,6 +1,5 @@
|
||||
services:
|
||||
traefik:
|
||||
ports: []
|
||||
networks:
|
||||
macvlan:
|
||||
ipv4_address: ${NASCOMPOSE_MACVLAN_TRAEFIK_IP}
|
||||
|
||||
@@ -19,9 +19,6 @@ services:
|
||||
environment:
|
||||
NASCOMPOSE_TRAEFIK_DOMAINS: ${NASCOMPOSE_TRAEFIK_DOMAINS?}
|
||||
NASCOMPOSE_MACVLAN_HOST_IP: ${NASCOMPOSE_MACVLAN_HOST_IP}
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
networks:
|
||||
- macvlan
|
||||
- traefik
|
||||
|
||||
Reference in New Issue
Block a user