Add OSM_SERVER and OSMUI_SQL_DATABASE_URI to Dockerfile 57/8457/1
authorDavid Garcia <david.garcia@canonical.com>
Wed, 8 Jan 2020 12:14:46 +0000 (13:14 +0100)
committerDavid Garcia <david.garcia@canonical.com>
Wed, 8 Jan 2020 12:14:58 +0000 (13:14 +0100)
Change-Id: I0764a50f8aa3f8a628e7c2aac22c7dadb359a997
Signed-off-by: David Garcia <david.garcia@canonical.com>
docker/Dockerfile

index d3bec05..b91eed0 100644 (file)
@@ -33,6 +33,8 @@ COPY 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
 
 EXPOSE 80