Set ckan extensions default level to INFO
This commit is contained in:
parent
1a74b83ae5
commit
697db30660
|
@ -153,6 +153,8 @@ RUN pip install -e /srv/app/src/ckan && \
|
||||||
# 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}/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
|
||||||
|
paster --plugin=ckan config-tool ${APP_DIR}/production.ini -s logger_ckanext -e level=INFO && \
|
||||||
# Create the data directory
|
# Create the data directory
|
||||||
mkdir ${DATA_DIR} && \
|
mkdir ${DATA_DIR} && \
|
||||||
# Change ownership to app user
|
# Change ownership to app user
|
||||||
|
|
|
@ -147,6 +147,8 @@ RUN pip install -e /srv/app/src/ckan && \
|
||||||
# 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}/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
|
||||||
|
paster --plugin=ckan config-tool ${APP_DIR}/production.ini -s logger_ckanext -e level=INFO && \
|
||||||
# Create the data directory
|
# Create the data directory
|
||||||
mkdir ${DATA_DIR} && \
|
mkdir ${DATA_DIR} && \
|
||||||
# Change ownership to app user
|
# Change ownership to app user
|
||||||
|
|
|
@ -163,6 +163,8 @@ RUN pip install -e /srv/app/src/ckan && \
|
||||||
mkdir ${DATA_DIR} && \
|
mkdir ${DATA_DIR} && \
|
||||||
# Webassets can't be loaded from env variables at runtime, it needs to be in the config so that it is created
|
# Webassets can't be loaded from env variables at runtime, it needs to be in the config so that it is created
|
||||||
ckan config-tool ${APP_DIR}/production.ini "ckan.webassets.path = ${DATA_DIR}/webassets" && \
|
ckan config-tool ${APP_DIR}/production.ini "ckan.webassets.path = ${DATA_DIR}/webassets" && \
|
||||||
|
# Set the default level for extensions to INFO
|
||||||
|
ckan config-tool ${APP_DIR}/production.ini -s logger_ckanext -e level=INFO && \
|
||||||
# Change ownership to app user
|
# Change ownership to app user
|
||||||
chown -R ckan:ckan /srv/app
|
chown -R ckan:ckan /srv/app
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue