Skip to content

Commit 8ee8e46

Browse files
committed
update mono repo: go-zero
1 parent bcce5f7 commit 8ee8e46

File tree

1 file changed

+36
-18
lines changed
  • mono-repo/go-zero/{{cookiecutter.repo_name}}/deploy

1 file changed

+36
-18
lines changed
Lines changed: 36 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,67 @@
11

22

3-
# 部署相关:
3+
# Deploy:
44

5+
- 部署/运维相关配置脚本
56

6-
# 环境:
77

8+
## introduction:
89

10+
- local: 本地开发环境: 基于 docker + docker-compose
11+
- staging: 预发布环境: 基于 docker or k8s
12+
- production: 生产环境: 基于
913

1014

11-
## local:
1215

13-
- 本地开发环境:
14-
- 启动 docker 容器:
16+
## reference:
1517

16-
```bash
18+
> docker:
1719
18-
cd zeromall/deploy/local
20+
- https://docs.docker.com/engine/install/
21+
- https://docs.docker.com/engine/install/ubuntu/
22+
- https://docs.docker.com/compose/install/
1923

24+
> Kubernetes (K8s):
2025
21-
make run.xxx
26+
- https://github.com/kubernetes/kubernetes
27+
- https://github.com/k3s-io/k3s
2228

23-
```
2429

30+
> terraform:
2531
32+
- https://github.com/hashicorp/terraform
33+
- examples:
34+
- https://github.com/hashicorp/terraform-guides
35+
- https://github.com/hashicorp/terraform-guides/blob/master/infrastructure-as-code/hashistack/quick-start/terraform-aws/README.md
36+
- https://github.com/futurice/terraform-examples
37+
- https://github.com/futurice/terraform-examples/blob/master/aws/aws_ec2_ebs_docker_host/README.md
38+
39+
> docker-compose + dockerfile:
2640
27-
### 配置:
41+
- https://github.com/service-mesh/devops
42+
- https://github.com/service-mesh/dockerfile
2843

29-
- kafka
30-
- RabbitMQ: https://github.com/service-mesh/devops/blob/master/deploy/compose/local/common-mq-rabbitmq.yml
3144

3245

46+
## local:
3347

34-
## staging:
48+
- 本地开发环境:
49+
- 启动 docker 容器:
3550

36-
- 预发布环境:
51+
```bash
3752

53+
cd deploy/local
3854

39-
## production:
55+
make run.xxx
4056

41-
- 生产环境:
57+
```
4258

4359

60+
## staging:
4461

45-
# ref:
62+
- 预发布环境:
4663

47-
- https://github.com/service-mesh/devops
4864

65+
## production:
4966

67+
- 生产环境:

0 commit comments

Comments
 (0)