it works!

This commit is contained in:
insert 2023-08-18 16:46:49 -04:00
parent 2ea5c39939
commit 1e2a2a67f8
No known key found for this signature in database
GPG key ID: 8F1F3466FB204C55

View file

@ -20,6 +20,16 @@ services:
# options: # options:
# max-size: '10m' # max-size: '10m'
worker1:
build: .
command: [ "node", "deliveryWorker.js" ]
restart: always
env_file: '.env'
environment:
DB_URL: 'mongodb://mongodb:27017'
depends_on:
- mongodb
mongodb: mongodb:
image: mongo:4.2 image: mongo:4.2
restart: always restart: always