This commit is contained in:
Jeroen Brons 2019-06-22 13:06:17 +00:00
parent 2b037b83bd
commit d3460be611

View file

@ -23,10 +23,10 @@
volumes:
- "{{ docker_home }}/JoomlaDB:/var/lib/mysql"
env:
MYSQL_DATABASE: joomla
MYSQL_USER: joomla
MYSQL_PASSWORD: mysql_password
MYSQL_ROOT_PASSWORD: mysql_root_password
MYSQL_DATABASE: "joomla"
MYSQL_USER: "joomla"
MYSQL_PASSWORD: "{{ mysql_password }}"
MYSQL_ROOT_PASSWORD: "{{ mysql_root_password }}"
restart_policy: unless-stopped
memory: 1g
@ -42,12 +42,12 @@
links:
- "mysql_joomla:mysql_joomla"
env:
- JOOMLA_DB_HOST: mysql_joomla
- JOOMLA_DB_HOST: "mysql_joomla"
- JOOMLA_DB_PASSWORD: "{{ mysql_password }}"
restart_policy: unless-stopped
memory: 1g
labels:
traefik.backend: joomla
traefik.backend: "joomla"
traefik.frontend.rule: "Host: joomla.{{ ansible_nas_domain }}"
traefik.enable: "{{ joomla_available_externally }}"
traefik.port: 8181
traefik.port: "8181"