Skip to content

Commit 6ed9721

Browse files
Fix external network configuration
1 parent 1b9028e commit 6ed9721

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

compose.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
# along with Traefik with Docker Compose. If not, see <https://www.gnu.org/licenses/>.
1717

1818
networks:
19-
${NETWORK_NAME:-web}:
19+
proxy:
2020
external: true
21+
name: ${NETWORK_NAME:-web}
2122

2223
services:
2324
traefik:
@@ -44,7 +45,7 @@ services:
4445
env_file: '.env.traefik'
4546
image: traefik:${VERSION}
4647
networks:
47-
- ${NETWORK_NAME:-web}
48+
- proxy
4849
ports:
4950
- ${HTTP_PORT}:${HTTP_PORT}
5051
- ${HTTPS_PORT}:${HTTPS_PORT}

0 commit comments

Comments
 (0)