projects
/
osm
/
devops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
26864d3
)
Merge "Add OSM_SERVER and OSMUI_SQL_DATABASE_URI to Dockerfile"
author
madavi
<jm00553988@techmahindra.com>
Fri, 10 Jan 2020 06:18:36 +0000
(07:18 +0100)
committer
Gerrit Code Review
<root@osm.etsi.org>
Fri, 10 Jan 2020 06:18:36 +0000
(07:18 +0100)
docker/light-ui/Dockerfile
patch
|
blob
|
history
diff --git
a/docker/light-ui/Dockerfile
b/docker/light-ui/Dockerfile
index
65514e3
..
79262d1
100644
(file)
--- 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