Adds Flask configs

This commit is contained in:
Cory Lueninghoener 2019-10-17 21:56:58 -06:00
parent 4a67f03212
commit 1166ec0176
2 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,7 @@ RUN echo "deb [ allow-insecure=yes ] http://apt.postgresql.org/pub/repos/apt/ bi
osmium-tool \ osmium-tool \
cron \ cron \
python3-psycopg2 python3-shapely python3-lxml \ python3-psycopg2 python3-shapely python3-lxml \
python3-geojson python3-flask libapache2-mod-wsgi-py3 \
&& apt-get clean autoclean \ && apt-get clean autoclean \
&& apt-get autoremove --yes \ && apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/ && rm -rf /var/lib/{apt,dpkg,cache,log}/

View File

@ -8,6 +8,8 @@
DocumentRoot /var/www/html DocumentRoot /var/www/html
WSGIScriptAlias /points /var/www/html/points.wsgi
ErrorLog ${APACHE_LOG_DIR}/error.log ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined CustomLog ${APACHE_LOG_DIR}/access.log combined