Changed to label based config

Removed traefik.yml in favor of label based configuration and
changed hosts to moxietest
This commit is contained in:
2019-12-02 14:24:57 -05:00
parent 8787722c6c
commit f04f3acc58
4 changed files with 4 additions and 16 deletions

View File

@@ -16,6 +16,8 @@
image: wordpress:{{ wordpress_version }}
restart_policy: always
volumes: wordpress:/var/www/html
labels:
traefik.http.routers.wordpress.rule: "Host(`{{ wordpress_domain }}`)"
links:
- "{{ mariadb_name }}"
env: