From 21bcc4cab522b430354da2b5bf1b204be3fc870a Mon Sep 17 00:00:00 2001 From: Roman Storm Date: Thu, 12 Dec 2019 12:04:19 -0800 Subject: [PATCH] update docker-compose --- docker-compose.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 62c6538..10a7dc6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,8 @@ version: '2' + +volumes: + redis: + services: kovan: image: tornadocash/relayer @@ -13,6 +17,8 @@ services: # 2.5 means 2.5% RELAYER_FEE: 2.5 REDIS_URL: redis://redis:6379 + depends_on: + - redis nginx: image: jwilder/nginx-proxy restart: always @@ -33,4 +39,6 @@ services: - /var/run/docker.sock:/var/run/docker.sock:ro redis: image: redis - restart: always \ No newline at end of file + restart: always + volumes: + - redis:/data \ No newline at end of file