fix(core): update
This commit is contained in:
parent
6aa7d1ecc9
commit
2475aeb684
@ -39,7 +39,7 @@ WORKDIR /app
|
||||
COPY --from=node3 /app /app
|
||||
|
||||
### Healthchecks
|
||||
RUN pnpm install -g @servezone/healthy
|
||||
RUN pnpm install -g @serve.zone/healthy
|
||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=30s --retries=3 CMD [ "healthy" ]
|
||||
|
||||
EXPOSE 80
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"npmci": {
|
||||
"npmGlobalTools": [],
|
||||
"npmAccessLevel": "private",
|
||||
"npmRegistryUrl": "verdaccio.lossless.one",
|
||||
"npmAccessLevel": "public",
|
||||
"npmRegistryUrl": "registry.npmjs.org",
|
||||
"dockerRegistryRepoMap": {
|
||||
"registry.gitlab.com": "losslessone/services/servezone/coreflow"
|
||||
},
|
||||
@ -17,7 +17,7 @@
|
||||
"gitscope": "losslessone/services/servezone",
|
||||
"gitrepo": "coreflow",
|
||||
"description": "A comprehensive solution for managing Docker and scaling applications across servers, handling tasks from service provisioning to network traffic management.",
|
||||
"npmPackagename": "@servezone/coreflow",
|
||||
"npmPackagename": "@serve.zone/coreflow",
|
||||
"license": "UNLICENSED",
|
||||
"keywords": [
|
||||
"Docker",
|
||||
|
32
package.json
32
package.json
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@servezone_private/coreflow",
|
||||
"name": "@serve.zone/coreflow",
|
||||
"version": "1.0.131",
|
||||
"description": "A comprehensive solution for managing Docker and scaling applications across servers, handling tasks from service provisioning to network traffic management.",
|
||||
"main": "dist_ts/index.js",
|
||||
@ -48,33 +48,33 @@
|
||||
"devDependencies": {
|
||||
"@git.zone/tsbuild": "^2.1.66",
|
||||
"@git.zone/tsrun": "^1.2.46",
|
||||
"@git.zone/tstest": "^1.0.77",
|
||||
"@git.zone/tstest": "^1.0.90",
|
||||
"@git.zone/tswatch": "^2.0.7",
|
||||
"@push.rocks/tapbundle": "^5.0.8"
|
||||
"@push.rocks/tapbundle": "^5.0.23"
|
||||
},
|
||||
"dependencies": {
|
||||
"@api.global/typedrequest": "^3.0.4",
|
||||
"@api.global/typedsocket": "^3.0.0",
|
||||
"@apiclient.xyz/docker": "^1.0.105",
|
||||
"@api.global/typedrequest": "^3.0.23",
|
||||
"@api.global/typedsocket": "^3.0.1",
|
||||
"@apiclient.xyz/docker": "^1.0.112",
|
||||
"@push.rocks/early": "^4.0.3",
|
||||
"@push.rocks/lik": "^6.0.2",
|
||||
"@push.rocks/lik": "^6.0.15",
|
||||
"@push.rocks/projectinfo": "^5.0.1",
|
||||
"@push.rocks/qenv": "^6.0.4",
|
||||
"@push.rocks/smartcli": "^4.0.6",
|
||||
"@push.rocks/qenv": "^6.0.5",
|
||||
"@push.rocks/smartcli": "^4.0.10",
|
||||
"@push.rocks/smartdelay": "^3.0.1",
|
||||
"@push.rocks/smartlog": "^3.0.2",
|
||||
"@push.rocks/smartnetwork": "3.0.2",
|
||||
"@push.rocks/smartpath": "^5.0.5",
|
||||
"@push.rocks/smartpath": "^5.0.18",
|
||||
"@push.rocks/smartpromise": "^4.0.2",
|
||||
"@push.rocks/smartrequest": "^2.0.15",
|
||||
"@push.rocks/smartrequest": "^2.0.22",
|
||||
"@push.rocks/smartrx": "^3.0.2",
|
||||
"@push.rocks/smartstate": "^2.0.6",
|
||||
"@push.rocks/smartstring": "^4.0.7",
|
||||
"@push.rocks/smartstring": "^4.0.15",
|
||||
"@push.rocks/taskbuffer": "^3.0.10",
|
||||
"@serve.zone/api": "^2.0.27",
|
||||
"@serve.zone/interfaces": "^1.0.13",
|
||||
"@tsclass/tsclass": "^4.0.46",
|
||||
"@types/node": "20.11.16"
|
||||
"@serve.zone/api": "^2.0.28",
|
||||
"@serve.zone/interfaces": "^1.0.51",
|
||||
"@tsclass/tsclass": "^4.0.54",
|
||||
"@types/node": "20.12.11"
|
||||
},
|
||||
"private": true,
|
||||
"files": [
|
||||
|
2018
pnpm-lock.yaml
generated
2018
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
10
readme.md
10
readme.md
@ -1,10 +1,10 @@
|
||||
# @servezone_private/coreflow
|
||||
# @serve.zone/coreflow
|
||||
A comprehensive solution for managing Docker and scaling applications across servers, handling tasks from service provisioning to network traffic management.
|
||||
|
||||
## Install
|
||||
To install @servezone_private/coreflow, you can use npm with the following command:
|
||||
To install @serve.zone/coreflow, you can use npm with the following command:
|
||||
```sh
|
||||
npm install @servezone_private/coreflow --save
|
||||
npm install @serve.zone/coreflow --save
|
||||
```
|
||||
Given that this is a private package, make sure you have access to the required npm registry and that you are authenticated properly.
|
||||
|
||||
@ -18,7 +18,7 @@ Before you start, ensure you have Docker and Docker Swarm configured in your env
|
||||
To get started, you need to import and initialize coreflow within your application. Here's an example of how to do this in a TypeScript module:
|
||||
|
||||
```typescript
|
||||
import { Coreflow } from '@servezone_private/coreflow';
|
||||
import { Coreflow } from '@serve.zone/coreflow';
|
||||
|
||||
// Initialize Coreflow
|
||||
const coreflowInstance = new Coreflow();
|
||||
@ -70,7 +70,7 @@ coreflowInstance.applyScalingPolicy(scalingPolicy).then(() => {
|
||||
One of Coreflow's key features is its ability to manage network traffic, ensuring that it is efficiently distributed among various services based on load, priority, and other custom rules.
|
||||
|
||||
```typescript
|
||||
import { TrafficRule } from '@servezone_private/coreflow';
|
||||
import { TrafficRule } from '@serve.zone/coreflow';
|
||||
|
||||
const rule: TrafficRule = {
|
||||
serviceName: "webService",
|
||||
|
@ -2,7 +2,7 @@
|
||||
* autocreated commitinfo by @pushrocks/commitinfo
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@servezone_private/coreflow',
|
||||
version: '1.0.131',
|
||||
name: '@serve.zone/coreflow',
|
||||
version: '1.0.132',
|
||||
description: 'A comprehensive solution for managing Docker and scaling applications across servers, handling tasks from service provisioning to network traffic management.'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user