From: David Garcia Date: Wed, 8 Jan 2020 12:22:50 +0000 (+0100) Subject: Add OSM_SERVER and OSMUI_SQL_DATABASE_URI to Dockerfile X-Git-Tag: v7.0.1rc2~1^2~3^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F58%2F8458%2F1;p=osm%2Fdevops.git Add OSM_SERVER and OSMUI_SQL_DATABASE_URI to Dockerfile Change-Id: Iedef402ac49e56572c0e5be0244d4db71988f177 Signed-off-by: David Garcia --- diff --git a/docker/light-ui/Dockerfile b/docker/light-ui/Dockerfile index 65514e3d..79262d1f 100644 --- a/docker/light-ui/Dockerfile +++ b/docker/light-ui/Dockerfile @@ -43,6 +43,8 @@ RUN cp /usr/share/osm-lightui/supervisor-app.conf /etc/supervisor/conf.d/ RUN rm -f db.sqlite3 ENV DJANGO_ENV=prod +ENV OSM_SERVER=nbi +# ENV OSMUI_SQL_DATABASE_URI=mysql://root:secret@mysql:3306/lwui RUN python manage.py collectstatic --noinput RUN chmod +x /usr/share/osm-lightui/entrypoint.sh