From de4c5f0bec8dce6e3adf2c654f1ba20a9bd4b5d5 Mon Sep 17 00:00:00 2001 From: Cryptcoin Junkey Date: Wed, 11 Nov 2020 07:09:26 +0000 Subject: [PATCH] Use the array style in the command. Addrindexrs will get SIGKILL and its DB will be broken without this patch. Signed-off-by: Cryptcoin Junkey --- docker-compose.tmpl.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.tmpl.yml b/docker-compose.tmpl.yml index c6dd472..2c40965 100644 --- a/docker-compose.tmpl.yml +++ b/docker-compose.tmpl.yml @@ -44,7 +44,7 @@ services: build: context: ./src/addrindexrs dockerfile: ./Dockerfile - command: cargo run --release -- -vvvv + command: [ 'cargo', 'run', '--release', '--', '-vvvv' ] volumes: - ./config/addrindexrs:/root/.config/addrindexrs - addrindexrs-data:/data/ @@ -203,7 +203,7 @@ services: redis-base: hostname: ${HOSTNAME_BASE}-redis image: redis:3.2 - command: redis-server /usr/local/etc/redis/redis.conf + command: [ 'redis-server', '/usr/local/etc/redis/redis.conf' ] volumes: - ./config/redis/redis.conf:/usr/local/etc/redis/redis.conf logging: