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