From 073a20e76bd7a3797fbebdb429b8abaa5244e56d Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Wed, 5 Dec 2018 17:03:17 +0900 Subject: [PATCH] Add link and expose redis port --- .../docker-fragments/opt-add-btcqbo.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose-generator/docker-fragments/opt-add-btcqbo.yml b/docker-compose-generator/docker-fragments/opt-add-btcqbo.yml index 6d235c9..7cc1519 100644 --- a/docker-compose-generator/docker-fragments/opt-add-btcqbo.yml +++ b/docker-compose-generator/docker-fragments/opt-add-btcqbo.yml @@ -7,6 +7,8 @@ services: REDIS_URL: "redis://redis:6379/0" expose: - "8001" + link: + - redis rq-worker: image: jvandrew/btcqbo:0.1.0 entrypoint: /usr/local/bin/rq @@ -15,8 +17,12 @@ services: REDIS_URL: "redis://redis:6379/0" expose: - "8001" + link: + - redis redis: image: redis:5.0.2-alpine + expose: + - "6379" volumes: - "redis_datadir:/data"