added production.ini to APP_DIR in Dockerfile
This commit is contained in:
parent
24d7858815
commit
6c052e9475
|
@ -158,7 +158,7 @@ RUN pip install -e /srv/app/src/ckan && \
|
||||||
echo "UTC" > /etc/timezone && \
|
echo "UTC" > /etc/timezone && \
|
||||||
# Generate CKAN config
|
# Generate CKAN config
|
||||||
paster --plugin=ckan make-config ckan ${APP_DIR}/production.ini && \
|
paster --plugin=ckan make-config ckan ${APP_DIR}/production.ini && \
|
||||||
paster --plugin=ckan config-tool ${APP_DIR} "beaker.session.secret = " && \
|
paster --plugin=ckan config-tool ${APP_DIR}/production.ini "beaker.session.secret = " && \
|
||||||
paster --plugin=ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \
|
paster --plugin=ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \
|
||||||
# Set the default level for extensions to INFO
|
# Set the default level for extensions to INFO
|
||||||
paster --plugin=ckan config-tool ${APP_DIR}/production.ini -s logger_ckanext -e level=INFO && \
|
paster --plugin=ckan config-tool ${APP_DIR}/production.ini -s logger_ckanext -e level=INFO && \
|
||||||
|
|
|
@ -151,7 +151,7 @@ RUN pip install -e /srv/app/src/ckan && \
|
||||||
echo "UTC" > /etc/timezone && \
|
echo "UTC" > /etc/timezone && \
|
||||||
# Generate CKAN config
|
# Generate CKAN config
|
||||||
paster --plugin=ckan make-config ckan ${APP_DIR}/production.ini && \
|
paster --plugin=ckan make-config ckan ${APP_DIR}/production.ini && \
|
||||||
paster --plugin=ckan config-tool ${APP_DIR} "beaker.session.secret = " && \
|
paster --plugin=ckan config-tool ${APP_DIR}/production.ini "beaker.session.secret = " && \
|
||||||
paster --plugin=ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \
|
paster --plugin=ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \
|
||||||
# Set the default level for extensions to INFO
|
# Set the default level for extensions to INFO
|
||||||
paster --plugin=ckan config-tool ${APP_DIR}/production.ini -s logger_ckanext -e level=INFO && \
|
paster --plugin=ckan config-tool ${APP_DIR}/production.ini -s logger_ckanext -e level=INFO && \
|
||||||
|
|
|
@ -162,7 +162,7 @@ RUN pip install -e /srv/app/src/ckan && \
|
||||||
echo "UTC" > /etc/timezone && \
|
echo "UTC" > /etc/timezone && \
|
||||||
# Generate CKAN config
|
# Generate CKAN config
|
||||||
ckan generate config ${APP_DIR}/production.ini && \
|
ckan generate config ${APP_DIR}/production.ini && \
|
||||||
ckan config-tool ${APP_DIR} "beaker.session.secret = " && \
|
ckan config-tool ${APP_DIR}/production.ini "beaker.session.secret = " && \
|
||||||
# Configure plugins
|
# Configure plugins
|
||||||
ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \
|
ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \
|
||||||
# Create the data directory
|
# Create the data directory
|
||||||
|
|
Loading…
Reference in New Issue