From 1dfece6410b1d904d52acc988fc142c452934214 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Wed, 5 Dec 2018 16:42:28 +0900 Subject: [PATCH] fix qbo --- .../docker-fragments/opt-add-btcqbo.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docker-compose-generator/docker-fragments/opt-add-btcqbo.yml b/docker-compose-generator/docker-fragments/opt-add-btcqbo.yml index 493ab84..0826738 100644 --- a/docker-compose-generator/docker-fragments/opt-add-btcqbo.yml +++ b/docker-compose-generator/docker-fragments/opt-add-btcqbo.yml @@ -3,5 +3,17 @@ version: "3" services: btcqbo: image: jvandrew/btcqbo:0.1.0 + environment: + REDIS_URL: "redis://redis:6379/0" expose: - - "8001" \ No newline at end of file + - "8001" + rq-worker: + image: jvandrew/btcqbo:0.1.0 + entrypoint: /usr/local/bin/rq + command: worker -u redis://redis:6379/0 btcqbo + environment: + REDIS_URL: "redis://redis:6379/0" + expose: + - "8001" + redis: + image: redis:5.0.2-alpine \ No newline at end of file