Forceu / barcodebuddy

Barcode system for Grocy
GNU Affero General Public License v3.0
433 stars 58 forks source link

BBUDDY_EXTERNAL_GROCY_URL not working properly #230

Open Teslamancer opened 9 months ago

Teslamancer commented 9 months ago

I have Barcode Buddy running in a k3s home cluster and am trying to set the external url so that the header link will work properly. As specified in the documentation, I have set the environment variable BBUDDY_EXTERNAL_GROCY_URL to my external URL "https://example.website.us/" I have also set BBUDDY_OVERRIDDEN_USER_CONFIG to use the internal k8s service for grocy, with a value like "GROCY_API_URL=http://grocy:8080/api/;GROCY_API_KEY=$(GROCY_API_KEY)" and that seems to be working properly, but the external URL in the header is set to "http://grocy:8080" despite the external url config. My helm chart is as below:

`apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "grocy.fullname" . }}-barcode-buddy namespace: {{ .Release.Namespace }} labels: app: barcode-buddy spec: selector: matchLabels: app: barcode-buddy template: metadata: labels: app: barcode-buddy spec: containers:

Teslamancer commented 7 months ago

@Forceu Is there something wrong with my configuration, or is there a bug in the code?