65 lines
1.6 KiB
YAML
65 lines
1.6 KiB
YAML
# Save the output of this file and use kubectl create -f to import
|
|
# it into Kubernetes.
|
|
#
|
|
# Created with podman-4.7.2
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
creationTimestamp: "2023-12-06T16:18:35Z"
|
|
labels:
|
|
app: froxlor
|
|
name: froxlor
|
|
spec:
|
|
restartPolicy: Never
|
|
containers:
|
|
- args:
|
|
- supervisord
|
|
image: localhost/php-nginx-kmmportal:latest
|
|
name: froxlor-nginx-php
|
|
ports:
|
|
- containerPort: 3306
|
|
hostPort: 3306
|
|
- containerPort: 80
|
|
hostPort: 8080
|
|
securityContext:
|
|
runAsGroup: 999
|
|
runAsUser: 999
|
|
volumeMounts:
|
|
- mountPath: /app
|
|
name: home-do-git-php-Froxlor-host-0
|
|
- mountPath: /etc/nginx/nginx.conf
|
|
name: home-do-git-php-Froxlor-podman-nginx.conf-host-1
|
|
- args:
|
|
- mariadbd
|
|
env:
|
|
- name: MARIADB_ROOT_PASSWORD
|
|
value: rootpW
|
|
image: docker.io/library/mariadb:latest
|
|
name: froxlor-mariadb
|
|
securityContext:
|
|
runAsGroup: 999
|
|
runAsUser: 999
|
|
volumeMounts:
|
|
- mountPath: /etc/mysql/conf.d
|
|
name: home-do-git-php-Froxlor-podman-mariadb.d-host-0
|
|
- mountPath: /var/lib/mysql
|
|
name: froxlor-mariadb-pvc
|
|
hostUsers: false
|
|
volumes:
|
|
- hostPath:
|
|
path: /home/do/git/php/Froxlor-podman/nginx.conf
|
|
type: File
|
|
name: home-do-git-php-Froxlor-podman-nginx.conf-host-1
|
|
- hostPath:
|
|
path: /home/do/git/php/Froxlor-podman/mariadb.d
|
|
type: Directory
|
|
name: home-do-git-php-Froxlor-podman-mariadb.d-host-0
|
|
- name: froxlor-mariadb-pvc
|
|
persistentVolumeClaim:
|
|
claimName: froxlor-mariadb
|
|
- hostPath:
|
|
path: /home/do/git/php/Froxlor
|
|
type: Directory
|
|
name: home-do-git-php-Froxlor-host-0
|
|
|