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
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
containerPort: 80
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: APP_ENV
|
||||
@@ -37,6 +37,8 @@ spec:
|
||||
value: "https://pelican.khalisio.com"
|
||||
- name: BEHIND_PROXY
|
||||
value: "true"
|
||||
- name: DB_CONNECTION
|
||||
value: pgsql
|
||||
- name: DB_HOST
|
||||
value: postgres.pelican.svc.cluster.local
|
||||
- name: DB_PORT
|
||||
@@ -84,13 +86,11 @@ spec:
|
||||
value: file
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /var/www/app/storage
|
||||
mountPath: /var/www/html/storage/app
|
||||
- name: logs
|
||||
mountPath: /var/www/app/storage/logs
|
||||
mountPath: /var/www/html/storage/logs
|
||||
- name: uploads
|
||||
mountPath: /var/www/app/public/uploads
|
||||
- name: pufferpanel
|
||||
mountPath: /var/www/app/storage/pufferpanel
|
||||
mountPath: /var/www/html/public/uploads
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
@@ -101,6 +101,3 @@ spec:
|
||||
- name: uploads
|
||||
persistentVolumeClaim:
|
||||
claimName: pelican-data
|
||||
- name: pufferpanel
|
||||
persistentVolumeClaim:
|
||||
claimName: pelican-data
|
||||
|
||||
Reference in New Issue
Block a user