File tree Expand file tree Collapse file tree 1 file changed +36
-18
lines changed
mono-repo/go-zero/{{cookiecutter.repo_name}}/deploy Expand file tree Collapse file tree 1 file changed +36
-18
lines changed Original file line number Diff line number Diff line change 1
1
2
2
3
- # 部署相关 :
3
+ # Deploy :
4
4
5
+ - 部署/运维相关配置脚本
5
6
6
- # 环境:
7
7
8
+ ## introduction:
8
9
10
+ - local: 本地开发环境: 基于 docker + docker-compose
11
+ - staging: 预发布环境: 基于 docker or k8s
12
+ - production: 生产环境: 基于
9
13
10
14
11
- ## local:
12
15
13
- - 本地开发环境:
14
- - 启动 docker 容器:
16
+ ## reference:
15
17
16
- ``` bash
18
+ > docker:
17
19
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/
19
23
24
+ > Kubernetes (K8s):
20
25
21
- make run.xxx
26
+ - https://github.com/kubernetes/kubernetes
27
+ - https://github.com/k3s-io/k3s
22
28
23
- ```
24
29
30
+ > terraform:
25
31
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:
26
40
27
- ### 配置:
41
+ - https://github.com/service-mesh/devops
42
+ - https://github.com/service-mesh/dockerfile
28
43
29
- - kafka
30
- - RabbitMQ: https://github.com/service-mesh/devops/blob/master/deploy/compose/local/common-mq-rabbitmq.yml
31
44
32
45
46
+ ## local:
33
47
34
- ## staging:
48
+ - 本地开发环境:
49
+ - 启动 docker 容器:
35
50
36
- - 预发布环境:
51
+ ``` bash
37
52
53
+ cd deploy/local
38
54
39
- ## production:
55
+ make run.xxx
40
56
41
- - 生产环境:
57
+ ```
42
58
43
59
60
+ ## staging:
44
61
45
- # ref :
62
+ - 预发布环境 :
46
63
47
- - https://github.com/service-mesh/devops
48
64
65
+ ## production:
49
66
67
+ - 生产环境:
You can’t perform that action at this time.
0 commit comments