Refactor environment variable handling in Dockerfile and entrypoint.sh for consistency and clarity
All checks were successful
Building and publishing Homebrewery as Docker Image / build (release) Successful in 11m51s

This commit is contained in:
2025-06-25 21:08:49 +02:00
parent 9960e05315
commit 74a4557724
2 changed files with 9 additions and 8 deletions

View File

@@ -37,7 +37,8 @@ LABEL org.opencontainers.image.licenses="MIT"
LABEL org.opencontainers.image.created="${CREATED_AT}"
# Defining env variables for homebrewery
ENV HB_HOST=homebrewery.local.naturalcrit.com:8000 HB_NATURALCRIT_URL=local.naturalcrit.com:8010 HB_SECRET=secret PORT=8000 HB_ENABLE_V3=true HB_ENABLE_THEMES=true HB_LOCAL_ENVIRONMENTS=docker,local HB_PUBLIC_URL=https://homebrewery.naturalcrit.com
ENV HB_HOST=homebrewery.local.naturalcrit.com:8000 HB_NATURALCRIT_URL=local.naturalcrit.com:8010 HB_SECRET=secret PORT=8000 HB_ENABLE_V3=true
ENV HB_ENABLE_THEMES=true HB_PUBLIC_URL=https://homebrewery.naturalcrit.com HB_DB_URI=mongodb://mongodb/homebrewery
ENV HB_IMAGES=null HB_FONTS=null
# Adding tini for clean signal handling