Skip to content

Commit

Permalink
Move root_path declaration to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mpolidori committed Oct 17, 2024
1 parent 19ca8b6 commit a59ecbe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions deployment/ckan/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ ENV CKAN__PLUGINS image_view text_view webpage_view resource_proxy datatables_vi

RUN ckan config-tool ${CKAN_INI} "ckan.plugins = ${CKAN__PLUGINS}"
RUN ckan config-tool ${CKAN_INI} "ckan.auth.create_user_via_web = false"
RUN ckan config-tool ${CKAN_INI} "ckan.root_path = /private-admin/{{LANG}}"

USER ckan

2 changes: 0 additions & 2 deletions deployment/helm-templates/values.yaml.dev.template
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ ckan:
CKANEXT__REPO__SRCPATH: /srv/app/src
CKAN_INI: /srv/app/production.ini
CKAN_SITE_ID: wri-dev
CKAN_ROOT_PATH: /private-admin/{{ printf "{{LANG}}" }}
CKAN__ROOT_PATH: /private-admin/{{ printf "{{LANG}}" }}
CKAN__SITE_URL: https://wri.dev.frontend.datopian.com
CKAN_SITE_URL: https://wri.dev.frontend.datopian.com
CKAN_HOMEPAGE_STYLE: "2"
Expand Down

0 comments on commit a59ecbe

Please sign in to comment.