You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
947 B

services:
mongodb:
image: docker.pblr-nyk.pro/mongo:8.2.4
container_name: mongodb-0
ports:
- 27017:27017
volumes:
- ./testenv/mongodb:/data/db
deploy:
resources:
limits:
cpus: "4"
memory: 4096M
mongoExpress:
image: docker.pblr-nyk.pro/mongo-express
container_name: mongoExpress-0
ports:
- 8081:8081
environment:
- ME_CONFIG_MONGODB_URL=mongodb://mongodb:27017
depends_on:
- mongodb
deploy:
resources:
limits:
cpus: "1"
memory: 1024M
meshCenterBackend:
build: ./
command:
- --transport ble --ble-adapter hci0 --ble-mesh-mac xxxxx --mongo-host mongodb
container_name: meshCenterBackend-0
ports:
- 8680:8680
depends_on:
- mongodb
volumes:
- /run/dbus:/run/dbus:ro
deploy:
resources:
limits:
cpus: "1"
memory: 1024M