Disable exposure by default

This commit is contained in:
Kris Lamoureux 2019-12-02 19:14:59 -05:00
parent f04f3acc58
commit 7be5efe1dd
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
docker_container:
name: "{{ traefik_name }}"
image: traefik:{{ traefik_version }}
command: --api.insecure=true --providers.docker
command: --api.insecure=true --providers.docker --providers.docker.exposedbydefault=false
state: started
restart_policy: always
ports:

View File

@ -18,6 +18,7 @@
volumes: wordpress:/var/www/html
labels:
traefik.http.routers.wordpress.rule: "Host(`{{ wordpress_domain }}`)"
traefik.enable: "true"
links:
- "{{ mariadb_name }}"
env: