From 1e2a2a67f83e7923f07e22b862a13f5bcd1fd32e Mon Sep 17 00:00:00 2001 From: insert Date: Fri, 18 Aug 2023 16:46:49 -0400 Subject: [PATCH] it works! --- docker-compose.dev.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index b74694a..8008eb0 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -20,6 +20,16 @@ services: # options: # max-size: '10m' + worker1: + build: . + command: [ "node", "deliveryWorker.js" ] + restart: always + env_file: '.env' + environment: + DB_URL: 'mongodb://mongodb:27017' + depends_on: + - mongodb + mongodb: image: mongo:4.2 restart: always