Moved LANG into Dockerfile

Improved compatibility with other deployment methods.
This commit is contained in:
Tobias Genannt 2021-11-25 11:17:54 +01:00
parent c78b2ad9b0
commit 44821648d2
2 changed files with 1 additions and 2 deletions

View File

@ -40,7 +40,7 @@ RUN /opt/netbox/venv/bin/pip install \
ARG FROM
FROM ${FROM} as main
ENV DEBIAN_FRONTEND=noninteractive
ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8
RUN . /etc/os-release \
&& apt-get update -qq \
&& apt-get upgrade \

1
env/netbox.env vendored
View File

@ -15,7 +15,6 @@ EMAIL_USERNAME=netbox
EMAIL_USE_SSL=false
EMAIL_USE_TLS=false
HOUSEKEEPING_INTERVAL=86400
LANG=C.UTF-8
MAX_PAGE_SIZE=1000
MEDIA_ROOT=/opt/netbox/netbox/media
METRICS_ENABLED=false