Skip to content

Commit 623af7a

Browse files
committed
docker-compose traefik v2 config
1 parent eef8dba commit 623af7a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docker-compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ services:
2828
environment:
2929
- APACHE_DOCUMENT_ROOT=/var/www/public
3030
labels:
31-
- traefik.docker.network=traefik_webgateway
32-
- traefik.frontend.rule=Host:mvc5playground
33-
- traefik.port=80
31+
- "traefik.http.routers.app.rule=Host(`mvc5playground`)"
32+
- "traefik.http.routers.app.tls=true"
3433
networks:
3534
- public
3635
working_dir: /var/www

0 commit comments

Comments
 (0)