mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2025-12-23 04:41:58 +00:00
Invenio instance working with TUGraz theme module
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
FROM ghcr.io/front-matter/invenio-rdm-starter:latest
|
||||||
|
|
||||||
|
RUN /opt/invenio/.venv/bin/python -m ensurepip
|
||||||
|
RUN /opt/invenio/.venv/bin/python -m pip install invenio-theme-tugraz invenio-records-lom
|
||||||
|
RUN /opt/invenio/.venv/bin/python -m pip uninstall -y pip
|
||||||
|
RUN invenio collect
|
||||||
|
RUN apt install -y npm
|
||||||
|
RUN invenio webpack buildall
|
||||||
|
RUN apt remove -y npm
|
||||||
@@ -16,7 +16,8 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "io.containers.autoupdate=registry"
|
- "io.containers.autoupdate=registry"
|
||||||
invenio-rdm:
|
invenio-rdm:
|
||||||
image: ghcr.io/front-matter/invenio-rdm-starter:latest
|
build:
|
||||||
|
context: .
|
||||||
networks:
|
networks:
|
||||||
- invenio-network
|
- invenio-network
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -87,6 +87,10 @@ SEND_FILE_MAX_AGE_DEFAULT = 300
|
|||||||
# Set via env variable
|
# Set via env variable
|
||||||
# SECRET_KEY=
|
# SECRET_KEY=
|
||||||
|
|
||||||
|
# App theming settings
|
||||||
|
EXTENSIONS = ["invenio_theme_tugraz"]
|
||||||
|
APP_THEME = ["invenio-theme-tugraz", "semantic-ui"]
|
||||||
|
|
||||||
# Since HAProxy and Nginx route all requests no matter the host header
|
# Since HAProxy and Nginx route all requests no matter the host header
|
||||||
# provided, the allowed hosts variable is set to localhost. In production it
|
# provided, the allowed hosts variable is set to localhost. In production it
|
||||||
# should be set to the correct host and it is strongly recommended to only
|
# should be set to the correct host and it is strongly recommended to only
|
||||||
|
|||||||
Reference in New Issue
Block a user