Showing
4 changed files
with
69 additions
and
0 deletions
project/docker_image/backend/deployment.yml
0 → 100644
1 | +apiVersion: apps/v1 | ||
2 | +kind: Deployment | ||
3 | +metadata: | ||
4 | + name: backend | ||
5 | + labels: | ||
6 | + app: backend | ||
7 | + tier: backend | ||
8 | +spec: | ||
9 | + selector: | ||
10 | + matchLabels: | ||
11 | + app: backend | ||
12 | + replicas: 1 | ||
13 | + template: | ||
14 | + metadata: | ||
15 | + labels: | ||
16 | + app: backend | ||
17 | + spec: | ||
18 | + containers: | ||
19 | + - name: backend | ||
20 | + image: khujay15/nest-docker-test | ||
21 | + ports: | ||
22 | + - containerPort: 5000 | ||
23 | + name: backend | ||
24 | + | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
project/docker_image/backend/service.yml
0 → 100644
project/docker_image/frontend/deployment.yml
0 → 100644
1 | +apiVersion: apps/v1 | ||
2 | +kind: Deployment | ||
3 | +metadata: | ||
4 | + name: frontend | ||
5 | + labels: | ||
6 | + app: frontend | ||
7 | + tier: frontend | ||
8 | +spec: | ||
9 | + selector: | ||
10 | + matchLabels: | ||
11 | + app: frontend | ||
12 | + replicas: 1 | ||
13 | + template: | ||
14 | + metadata: | ||
15 | + labels: | ||
16 | + app: frontend | ||
17 | + spec: | ||
18 | + containers: | ||
19 | + - name: frontend | ||
20 | + image: khujay15/next-docker-test | ||
21 | + ports: | ||
22 | + - containerPort: 3000 | ||
23 | + name: frontend | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment