Comments (7)
https://github.com/tlmoe/v2fly-cf/blob/master/.github/workflows/deploy-to-ibm.yml#L56
https://docs.run.pivotal.io/devguide/deploy-apps/manifest-attributes.html#routes
from v2fly-cf.
大佬能否给个示例?谢谢啦!
from v2fly-cf.
cat > manifest-ibm.yml << EOF
---
applications:
- name: v2fly
memory: 128M
disk_quota: 128M
routes:
- route: v2fly.mybluemix.net
command: ./v2ray
buildpacks:
- binary_buildpack
EOF
- uses: citizen-of-planet-earth/cf-cli-action@v1
with:
cf_api: https://api.us-south.cf.cloud.ibm.com
cf_username: ${{ secrets.CF_USER_IBM }}
cf_password: ${{ secrets.CF_PASSWORD_IBM }}
cf_org: ${{ secrets.CF_ORG_IBM }}
cf_space: ${{ secrets.CF_SPACE_IBM }}
command: >
push v2fly -f manifest-ibm.yml
from v2fly-cf.
谢谢啦!搞定了。
from v2fly-cf.
大佬问下,如果想一次性部署4个相同的APP例如:v2flya、v2flyb、v2flyc、v2flyd,配置文件要怎么写?谢谢!
from v2fly-cf.
大佬问下,如果想一次性部署4个相同的APP例如:v2flya、v2flyb、v2flyc、v2flyd,配置文件要怎么写?谢谢!
@tvision08 完全相同的可以用instance
https://docs.cloudfoundry.org/devguide/deploy-apps/manifest-attributes.html#instances
memory: 256M
instances: 4
不一样的可以参考
https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#multi-apps
from v2fly-cf.
好的,谢谢啦!
from v2fly-cf.
Related Issues (9)
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 v2fly-cf.