Disable exposure by default
This commit is contained in:
parent
f04f3acc58
commit
7be5efe1dd
@ -2,7 +2,7 @@
|
|||||||
docker_container:
|
docker_container:
|
||||||
name: "{{ traefik_name }}"
|
name: "{{ traefik_name }}"
|
||||||
image: traefik:{{ traefik_version }}
|
image: traefik:{{ traefik_version }}
|
||||||
command: --api.insecure=true --providers.docker
|
command: --api.insecure=true --providers.docker --providers.docker.exposedbydefault=false
|
||||||
state: started
|
state: started
|
||||||
restart_policy: always
|
restart_policy: always
|
||||||
ports:
|
ports:
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
volumes: wordpress:/var/www/html
|
volumes: wordpress:/var/www/html
|
||||||
labels:
|
labels:
|
||||||
traefik.http.routers.wordpress.rule: "Host(`{{ wordpress_domain }}`)"
|
traefik.http.routers.wordpress.rule: "Host(`{{ wordpress_domain }}`)"
|
||||||
|
traefik.enable: "true"
|
||||||
links:
|
links:
|
||||||
- "{{ mariadb_name }}"
|
- "{{ mariadb_name }}"
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user