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.
58 lines
1.2 KiB
58 lines
1.2 KiB
services:
|
|
mongodb:
|
|
image: docker.pblr-nyk.pro/mongo:8.2.4
|
|
container_name: mongodb-0
|
|
ports:
|
|
- 27017:27017
|
|
volumes:
|
|
- $PWD/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: mesh-center-backend-0
|
|
ports:
|
|
- 8680:8680
|
|
depends_on:
|
|
- mongodb
|
|
volumes:
|
|
- $PWD/config:/app/config:ro
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "1"
|
|
memory: 1024M
|
|
|
|
meshcenterfrontend:
|
|
build:
|
|
context: ./ui
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- 8686:80
|
|
depends_on:
|
|
- meshcenterbackend
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "1"
|
|
memory: 1024M
|