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