From a09144f02b4cce07ed17750b5411a3e97524c3c7 Mon Sep 17 00:00:00 2001 From: Lan Phan Date: Sat, 9 Feb 2019 18:29:25 +0700 Subject: [PATCH] persistent RabbitMQ (#1956) --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 693ed2e..35dc0bc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -505,6 +505,9 @@ services: environment: - RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER} - RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS} + hostname: laradock-rabbitmq + volumes: + - ${DATA_PATH_HOST}/rabbitmq:/var/lib/rabbitmq depends_on: - php-fpm networks: