fix: add DB_CONNECTION=pgsql, fix containerPort and volumeMount paths
This commit is contained in:
@@ -26,7 +26,7 @@ spec:
|
|||||||
image: ghcr.io/pelican-dev/panel:latest
|
image: ghcr.io/pelican-dev/panel:latest
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8080
|
containerPort: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
env:
|
env:
|
||||||
- name: APP_ENV
|
- name: APP_ENV
|
||||||
@@ -37,6 +37,8 @@ spec:
|
|||||||
value: "https://pelican.khalisio.com"
|
value: "https://pelican.khalisio.com"
|
||||||
- name: BEHIND_PROXY
|
- name: BEHIND_PROXY
|
||||||
value: "true"
|
value: "true"
|
||||||
|
- name: DB_CONNECTION
|
||||||
|
value: pgsql
|
||||||
- name: DB_HOST
|
- name: DB_HOST
|
||||||
value: postgres.pelican.svc.cluster.local
|
value: postgres.pelican.svc.cluster.local
|
||||||
- name: DB_PORT
|
- name: DB_PORT
|
||||||
@@ -84,13 +86,11 @@ spec:
|
|||||||
value: file
|
value: file
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /var/www/app/storage
|
mountPath: /var/www/html/storage/app
|
||||||
- name: logs
|
- name: logs
|
||||||
mountPath: /var/www/app/storage/logs
|
mountPath: /var/www/html/storage/logs
|
||||||
- name: uploads
|
- name: uploads
|
||||||
mountPath: /var/www/app/public/uploads
|
mountPath: /var/www/html/public/uploads
|
||||||
- name: pufferpanel
|
|
||||||
mountPath: /var/www/app/storage/pufferpanel
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
@@ -101,6 +101,3 @@ spec:
|
|||||||
- name: uploads
|
- name: uploads
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: pelican-data
|
claimName: pelican-data
|
||||||
- name: pufferpanel
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: pelican-data
|
|
||||||
|
|||||||
Reference in New Issue
Block a user