You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.3 KiB
55 lines
1.3 KiB
# Save the output of this file and use kubectl create -f to import
|
|
# it into Kubernetes.
|
|
#
|
|
# Created with podman-4.4.2
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
creationTimestamp: '2023-03-16T17:11:45Z'
|
|
labels:
|
|
app: mariochat
|
|
name: mariochat
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- /bin/sh
|
|
- -c
|
|
- yarn global add pnpm && pnpm i && pnpm dev --host
|
|
image: docker.io/library/node:alpine
|
|
name: sveltekit
|
|
ports:
|
|
- containerPort: 4173
|
|
hostPort: 4173
|
|
- containerPort: 5173
|
|
hostPort: 5173
|
|
resources: {}
|
|
volumeMounts:
|
|
- mountPath: /mariochat
|
|
name: home-nadanke-dev-mariochat-host-0
|
|
workingDir: /mariochat
|
|
- args:
|
|
- postgres
|
|
env:
|
|
- name: POSTGRES_PASSWORD
|
|
value: mariochatpgpw
|
|
image: docker.io/library/postgres:15-alpine
|
|
name: db
|
|
ports:
|
|
- containerPort: 5432
|
|
hostPort: 5432
|
|
resources: {}
|
|
volumeMounts:
|
|
- mountPath: /var/lib/postgresql/data
|
|
name: mariochatdb-pvc
|
|
hostname: mariochat
|
|
restartPolicy: Never
|
|
volumes:
|
|
- hostPath:
|
|
path: /home/nadanke/dev/mariochat
|
|
type: Directory
|
|
name: home-nadanke-dev-mariochat-host-0
|
|
- name: mariochatdb-pvc
|
|
persistentVolumeClaim:
|
|
claimName: mariochatdb
|
|
status: {}
|