|
|
@ -6,6 +6,11 @@ services: |
|
|
- 27017:27017 |
|
|
- 27017:27017 |
|
|
volumes: |
|
|
volumes: |
|
|
- ./testenv/mongodb:/data/db |
|
|
- ./testenv/mongodb:/data/db |
|
|
|
|
|
deploy: |
|
|
|
|
|
resources: |
|
|
|
|
|
limits: |
|
|
|
|
|
cpus: "4" |
|
|
|
|
|
memory: 4096M |
|
|
|
|
|
|
|
|
mongoExpress: |
|
|
mongoExpress: |
|
|
image: docker.pblr-nyk.pro/mongo-express |
|
|
image: docker.pblr-nyk.pro/mongo-express |
|
|
@ -16,6 +21,11 @@ services: |
|
|
- ME_CONFIG_MONGODB_URL=mongodb://mongodb:27017 |
|
|
- ME_CONFIG_MONGODB_URL=mongodb://mongodb:27017 |
|
|
depends_on: |
|
|
depends_on: |
|
|
- mongodb |
|
|
- mongodb |
|
|
|
|
|
deploy: |
|
|
|
|
|
resources: |
|
|
|
|
|
limits: |
|
|
|
|
|
cpus: "1" |
|
|
|
|
|
memory: 1024M |
|
|
|
|
|
|
|
|
meshCenterBackend: |
|
|
meshCenterBackend: |
|
|
build: ./ |
|
|
build: ./ |
|
|
@ -25,4 +35,11 @@ services: |
|
|
ports: |
|
|
ports: |
|
|
- 8680:8680 |
|
|
- 8680:8680 |
|
|
depends_on: |
|
|
depends_on: |
|
|
- mongodb |
|
|
- mongodb |
|
|
|
|
|
volumes: |
|
|
|
|
|
- /run/dbus:/run/dbus:ro |
|
|
|
|
|
deploy: |
|
|
|
|
|
resources: |
|
|
|
|
|
limits: |
|
|
|
|
|
cpus: "1" |
|
|
|
|
|
memory: 1024M |