1
0
mirror of https://github.com/wallabag/docker synced 2025-12-13 17:56:31 +00:00

Add ability to run wannabag redis importer worker

This adds the ability to run wallabag async import worker that
interacts with a redis service.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
This commit is contained in:
Jan Losinski
2017-01-17 06:47:09 +01:00
parent 924d663c86
commit 4de27027b9
2 changed files with 17 additions and 0 deletions

View File

@@ -34,6 +34,8 @@
- /var/www/wallabag/data/assets
- /var/www/wallabag/data/db
notify: chown dir
tags:
- firstrun
- name: write parameters.yml
template:
@@ -59,6 +61,8 @@
port="{{ database_port }}"
when: (database_driver == 'pdo_mysql') or
(database_driver == 'pdo_pgsql')
tags:
- firstrun
- name: add mariadb db
mysql_db:
@@ -71,6 +75,8 @@
notify: run install
when: (database_driver == 'pdo_mysql') and
(populate_database == True)
tags:
- firstrun
- name: add mariadb user
mysql_user:
@@ -86,6 +92,8 @@
when: (database_driver == 'pdo_mysql') and
(database_user != 'root') and
(populate_database == True)
tags:
- firstrun
- name: postgresql db
postgresql_db:
@@ -98,6 +106,8 @@
notify: run install
when: (database_driver == 'pdo_pgsql') and
(populate_database == True)
tags:
- firstrun
- name: add postgresql user
postgresql_user:
@@ -113,6 +123,8 @@
when: (database_driver == 'pdo_pgsql') and
(database_user != 'postgres') and
(populate_database == True)
tags:
- firstrun
- name: remove cache
file: