chore(panopticon): map mariadb port to host per default

This commit is contained in:
Vincent Wilke 2020-06-29 20:08:49 +02:00 committed by Johanna Dorothea Reichmann
parent b280996a62
commit 74d490c22e
No known key found for this signature in database
GPG key ID: 03624C433676E465
2 changed files with 3 additions and 0 deletions

View file

@ -5,6 +5,8 @@ panopticon_db_user: panopticon
panopticon_db_name: panopticon
panopticon_db_host: mariadb
panopticon_db_port: 3306
panopticon_db_docker_ports:
- "172.17.0.1:3306:{{ panopticon_db_port }}"
panopticon_db_docker_labels: {} #override this
panopticon_version: "no version yet"

View file

@ -14,6 +14,7 @@
MYSQL_PASSWORD: "{{ panopticon_db_password }}"
restart_policy: unless-stopped
labels: "{{ panopticon_db_docker_labels_complete }}"
ports: "{{ panopticon_db_docker_ports }}"
- name: launch panopticon
become: yes