Comments (2)
修改docker-compose.yml 文件,对每台host单独配置mro处理服务。
from mroget.
逐台主机服务配置信息如下:
mro1:
# replace username/repo:tag with your name and image details
image: 10.XX.XX.2:5000/mro
volumes:
- "/gpdir/mro:/gpdir/mro"
deploy:
# deploy container nums
replicas: 1
placement:
constraints: [node.hostname == hbwy0001]
restart_policy:
condition: on-failure
depends_on:
- rabbit
networks:
- webnet
mro2:
# replace username/repo:tag with your name and image details
image: 10.XX.XX.2:5000/mro
volumes:
- "/gpdir/mro:/gpdir/mro"
deploy:
# deploy container nums
replicas: 2
placement:
constraints: [node.hostname == hbwy0002]
restart_policy:
condition: on-failure
depends_on:
- rabbit
networks:
- webnet
……
from mroget.
Related Issues (4)
- 单ENB的MRO时间异常导致大包入库异常 HOT 1
- 单node内存超限预防 HOT 2
- celery task 运行时候,出现异常hold
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mroget.