Disable exposure by default
This commit is contained in:
parent
f04f3acc58
commit
7be5efe1dd
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user