OpenCart++;Added new domain;Updated Gitea
This commit is contained in:
parent
fc6f5b1a18
commit
3d36982c72
@ -16,10 +16,11 @@
|
||||
"app": "ddclient"
|
||||
}
|
||||
},
|
||||
"type": "Opaque",
|
||||
"data": null
|
||||
},
|
||||
"encryptedData": {
|
||||
"ddclient.conf": "AgDoUm5e5pbFvH0/KI0gxdxu5JusfT+28XZeuM+a3ZFJ1Agj8i/bs90JT0GcdmlObB4lTdiVu1otqnN2XMMcHki2SSIxOQUXBreSXHZUAwpSAglK9p9IuUQOkLCsnpSc7ONUrsIbDGMQXBxPhlMBhnuvTLuEpFDFD0hm/Mw2mUfWt/smA1hSs5vXCA4kXrM3gHvib2VkneBZHw95prBp8Ksf2AYHeYi5Haz0VHsUfYTtcLb3/JZaNG/j5l8y3thTrfX5su19o1sDbS5CRT5mOuta5ePUqgJktTR5Ejj9FLTwOgBDQqLIgT5luLbuWTNV5DBxfjG9s/5ozXoIvOtJvAnvnIO2CZXnDgKJS65M+KuDbZEoMrtAvEDUoSb1yyo+0qmPtP+5832fzd0q3iAJAwsdqoGlrLm3kgVY5UrZ54gocNM1rJ9CmZxr/auXQ2eS5CSyPFkHoFinalEAsQS6utjJ9aURzSI+5fq7o605HgxNABJKHMLXNC+nWQQjJ+ycsvDxDM/cmwBEEPsOt9dXYq/0zNwfA6jXS/GkJe/tcU6Fol8srb8qX8Fw+zJa44g3A3L/1dbVemnG988HtS0XnzbJeXzUef8eK/oINT8iIHxPahDh3xeKSLGifuSfYlYuvIWVBuh1KVQxRnuoKVpTYAitvkrs2FX2Y1EwuMm1eJh48BH+z3eFVFw+jQH5CEqwSRTJTZtwfAuWrVyKuaa/xuooDnOuW4CJ8IQY67X6xP1fR633VpssHakkExLORLIW51dsby5A5WcIKRIepTjy7kJjI4ej2ejWNgEXE19K0kYAvn8Oquqgn7A6npI0olsb/ccufNrLHVuY+yXVL2wHOsV+N+5g5uj6bmO6aOD2hhRFfxo5PEO1IXf7/myCX0Jiay15pCC8pbKVannhw0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0q/sVZlpxxG+s7LugsEGj7axmoACqhM9XG+Cj+fXJo8GPDSA1ZnMwIu9ZXbjlajQYdy8qwxR6OdkSVUS2mQZcBI5UJWz8Chp+pvMkz5J/5+Zy14wD9bjbvIsFjd78dMSzUGA+5iYiDBppdZ5r4tHvrgAqtrEwWwduqINo9VyqaCUmg/wqUglANXt2kXZciv4miGCNC90Q9jBvF7DG/KZRydFba/2uBRRjMIDCg/HsVhbi3o6UT28dYLEONuUnjjqYyGaiPUqgue093afMrAb6MBImXUNkhfPcbWiVdcpPInk9Lc4bnLuuEhqLgvetmzJTitrf+aS4HX1Pb1r2pnx1aoRbLfl36NN/ytLrUxfn6ZSPUFrxmnK0XUKCEbg13GK+Que2IMnlua5z7nalzJKgwlv0+QN8iwHXoiec2UcqQwygfPihcN6OETkJ4BoaOfbG0ECqD7FWc4glVJUaMPRDTEf7X/gMc6hsNAKdtNtCkV/yHpY81X5sbU0bx+08dhYUbTHI/ywWUR9t3HsaQHQ=="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: gitea
|
||||
image: bv11-cr01.bessems.eu/proxy/gitea/gitea:1.15
|
||||
image: bv11-cr01.bessems.eu/proxy/gitea/gitea:1.16
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: DB_TYPE
|
||||
|
12
services/OpenCart/configMap-OpenCart.yml
Normal file
12
services/OpenCart/configMap-OpenCart.yml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: configmap-opencart
|
||||
data:
|
||||
OPENCART_HOST: condo.itch.fyi
|
||||
OPENCART_ENABLE_HTTPS: 'yes'
|
||||
OPENCART_DATABASE_HOST: opencart.default.svc.cluster.local
|
||||
OPENCART_DATABASE_PORT_NUMBER: '3306'
|
||||
OPENCART_DATABASE_NAME: opencart
|
||||
OPENCART_DATABASE_USER: opencart
|
||||
OPENCART_DATABASE_PASSWORD: opencart
|
193
services/OpenCart/deploy-OpenCart.yml
Normal file
193
services/OpenCart/deploy-OpenCart.yml
Normal file
@ -0,0 +1,193 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: opencart
|
||||
spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
name: web
|
||||
port: 8080
|
||||
- protocol: TCP
|
||||
name: db
|
||||
port: 3306
|
||||
selector:
|
||||
app: opencart
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: opencart
|
||||
labels:
|
||||
app: opencart
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: opencart
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: opencart
|
||||
spec:
|
||||
containers:
|
||||
- name: web
|
||||
image: bv11-cr01.bessems.eu/proxy/bitnami/opencart:3
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: configmap-opencart
|
||||
ports:
|
||||
- name: web
|
||||
containerPort: 8080
|
||||
volumeMounts:
|
||||
- mountPath: /bitnami/opencart
|
||||
name: flexvolsmb-opencart-config
|
||||
- mountPath: /bitnami/opencart_storage
|
||||
name: flexvolsmb-opencart-data
|
||||
- name: db
|
||||
image: bv11-cr01.bessems.eu/proxy/library/mariadb:10.7
|
||||
args:
|
||||
- --innodb-flush-method=fsync
|
||||
securityContext:
|
||||
runAsUser: 999
|
||||
runAsGroup: 999
|
||||
env:
|
||||
- name: MARIADB_RANDOM_ROOT_PASSWORD
|
||||
value: 'true'
|
||||
- name: MARIADB_DATABASE
|
||||
value: opencart
|
||||
- name: MARIADB_USER
|
||||
value: opencart
|
||||
- name: MARIADB_PASSWORD
|
||||
value: opencart
|
||||
ports:
|
||||
- name: db
|
||||
containerPort: 3306
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/mysql
|
||||
name: flexvolsmb-opencart-db
|
||||
volumes:
|
||||
- name: flexvolsmb-opencart-config
|
||||
persistentVolumeClaim:
|
||||
claimName: flexvolsmb-opencart-config
|
||||
- name: flexvolsmb-opencart-data
|
||||
persistentVolumeClaim:
|
||||
claimName: flexvolsmb-opencart-data
|
||||
- name: flexvolsmb-opencart-db
|
||||
persistentVolumeClaim:
|
||||
claimName: flexvolsmb-opencart-db
|
||||
---
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: opencart
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`condo.itch.fyi`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: opencart
|
||||
port: 8080
|
||||
middlewares:
|
||||
- name: security-headers@file
|
||||
- name: compression@file
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: flexvolsmb-opencart-config
|
||||
spec:
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: flexvolsmb-opencart-config
|
||||
flexVolume:
|
||||
driver: mount/smb
|
||||
secretRef:
|
||||
name: smb-secret
|
||||
namespace: default
|
||||
options:
|
||||
opts: domain=bessems.eu,file_mode=0755,dir_mode=0755,uid=1001,gid=1001,iocharset=utf8
|
||||
server: 192.168.11.225
|
||||
share: /K3s.Volumes/opencart/config
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: flexvolsmb-opencart-config
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: flexvolsmb-opencart-config
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: flexvolsmb-opencart-data
|
||||
spec:
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: flexvolsmb-opencart-data
|
||||
flexVolume:
|
||||
driver: mount/smb
|
||||
secretRef:
|
||||
name: smb-secret
|
||||
namespace: default
|
||||
options:
|
||||
opts: domain=bessems.eu,file_mode=0755,dir_mode=0755,uid=1001,gid=1001,iocharset=utf8
|
||||
server: 192.168.11.225
|
||||
share: /K3s.Volumes/opencart/data
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: flexvolsmb-opencart-data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: flexvolsmb-opencart-data
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: flexvolsmb-opencart-db
|
||||
spec:
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: flexvolsmb-opencart-db
|
||||
flexVolume:
|
||||
driver: mount/smb
|
||||
secretRef:
|
||||
name: smb-secret
|
||||
namespace: default
|
||||
options:
|
||||
opts: domain=bessems.eu,file_mode=0755,dir_mode=0755,uid=999,gid=999,iocharset=utf8,nobrl
|
||||
server: 192.168.11.225
|
||||
share: /K3s.Volumes/opencart/db
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: flexvolsmb-opencart-db
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: flexvolsmb-opencart-db
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
|
Loading…
Reference in New Issue
Block a user