mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-26 10:15:14 +00:00
Flip Firefly to MariaDB 10.9
This commit is contained in:
parent
e8c3dea136
commit
b743a1e3ae
1 changed files with 3 additions and 4 deletions
|
@ -6,18 +6,17 @@
|
|||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ firefly_data_directory }}/postgresql"
|
||||
- "{{ firefly_data_directory }}/mysql"
|
||||
- "{{ firefly_data_directory }}/mariadb"
|
||||
- "{{ firefly_data_directory }}/upload"
|
||||
- "{{ firefly_data_directory }}/export"
|
||||
|
||||
- name: Create MySQL container for Firefly
|
||||
docker_container:
|
||||
name: "{{ firefly_mysql_container_name }}"
|
||||
image: mysql:5.7
|
||||
image: mariadb:10.9
|
||||
pull: true
|
||||
volumes:
|
||||
- "{{ firefly_data_directory }}/mysql:/var/lib/mysql:rw"
|
||||
- "{{ firefly_data_directory }}/mariadb:/var/lib/mysql:rw"
|
||||
env:
|
||||
MYSQL_DATABASE: "firefly"
|
||||
MYSQL_USER: "firefly"
|
||||
|
|
Loading…
Reference in a new issue