-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpodman-pod.prod.yml
51 lines (51 loc) · 1.09 KB
/
podman-pod.prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Save the output of this file and use kubectl create -f to import
# it into Kubernetes.
#
# Created with podman-4.6.1
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2023-09-22T05:54:54Z"
labels:
app: Dockerized-Full-Stack-Template-Prod
name: Dockerized-Full-Stack-Template-Prod
spec:
containers:
- args:
- mongod
image: docker.io/library/mongo:4.0-xenial
name: db
ports:
- containerPort: 27017
hostPort: 27017
volumeMounts:
- mountPath: /data/configdb
name: vidlyConfig-pvc
- mountPath: /data/db
name: vidly-pvc
- args:
- ./docker-entrypoint.sh
env:
- name: DB_URL
value: mongodb://db/vidly
image: localhost/backend:latest
name: backend
ports:
- containerPort: 3001
hostPort: 3001
- args:
- nginx
- -g
- daemon off;
image: localhost/frontend:1.0.0
name: frontend-prod
ports:
- containerPort: 80
hostPort: 80
volumes:
- name: vidlyConfig-pvc
persistentVolumeClaim:
claimName: vidlyConfig
- name: vidly-pvc
persistentVolumeClaim:
claimName: vidly