Skip to content

Commit

Permalink
chore: update deploy config
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Jul 28, 2022
1 parent c65e255 commit a8bac5b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
10 changes: 5 additions & 5 deletions deploy/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ services:
- laf_shared_network

system-server:
image: lafyun/system-server:0.8.0
image: lafyun/system-server:latest
user: root
working_dir: /app
environment:
Expand Down Expand Up @@ -88,7 +88,7 @@ services:
- laf_shared_network

gateway:
image: lafyun/gateway:0.8.0-alpha.3
image: lafyun/gateway:latest
depends_on:
- system-server
- mongo
Expand All @@ -104,7 +104,7 @@ services:
- laf_shared_network

instance-controller:
image: lafyun/instance-controller:0.8.0
image: lafyun/instance-controller:latest
user: root
working_dir: /app
environment:
Expand All @@ -131,12 +131,12 @@ services:
- laf_shared_network

system-client:
image: lafyun/system-client:0.8.0
image: lafyun/system-client:latest
networks:
- laf_shared_network

app-console:
image: lafyun/app-console:0.8.0
image: lafyun/app-console:latest
networks:
- laf_shared_network

Expand Down
9 changes: 5 additions & 4 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@
npm i laf-cli -g
```

## Usage
## Usage

#### 1. Generate a env file template for laf-cli: `.env`

```bash
laf-cli init --access-key xxxxx --access-secret xxxxxx --bucket xxxxxx
laf init --access-key xxxxx --access-secret xxxxxx --bucket xxxxxx
```

#### 2. run `laf-cli sync ./dist` command to sync files to OSS bucket


## Upgrade laf-cli

```sh
npm i laf-cli@latest -g
```
```
1 change: 0 additions & 1 deletion packages/cli/laf.json

This file was deleted.

13 changes: 6 additions & 7 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "laf-cli for labring/laf",
"main": "dist/index.js",
"bin": {
"laf-cli": "dist/index.js"
"laf": "dist/index.js"
},
"scripts": {
"dev": "tsc -w",
Expand All @@ -14,18 +14,17 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/lafjs/laf-cli.git"
"url": "git+https://github.com/labring/laf.git"
},
"keywords": [
"laf",
"laf.js"
"laf"
],
"author": "maslow (wangfugen@126.com)",
"license": "ISC",
"bugs": {
"url": "https://github.com/lafjs/laf-cli/issues"
"url": "https://github.com/labring/laf/issues"
},
"homepage": "https://github.com/lafjs/laf-cli#readme",
"homepage": "https://github.com/labring/laf#readme",
"devDependencies": {
"@types/mime": "^2.0.3",
"@types/node": "^17.0.31",
Expand All @@ -43,4 +42,4 @@
"jsonwebtoken": "^8.5.1",
"mime": "^3.0.0"
}
}
}

0 comments on commit a8bac5b

Please sign in to comment.