- ..:/usr/src/paperless/paperless-ngx:delegated
- ../.devcontainer/vscode:/usr/src/paperless/paperless-ngx/.vscode:delegated # VSCode config files
- virtualenv:/usr/src/paperless/paperless-ngx/.venv # Virtual environment persisted in volume
- - /usr/src/paperless/paperless-ngx/src/documents/static/frontend # Static frontend files exist only in container
+ - /usr/src/paperless/paperless-ngx/src/paperless/static/frontend # Static frontend files exist only in container
- /usr/src/paperless/paperless-ngx/src/.pytest_cache
- /usr/src/paperless/paperless-ngx/.ruff_cache
- /usr/src/paperless/paperless-ngx/htmlcov
PAPERLESS_TIKA_ENABLED: 1
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
- PAPERLESS_STATICDIR: ./src/documents/static
+ PAPERLESS_STATICDIR: ./src/paperless/static
PAPERLESS_DEBUG: true
# Overrides default command so things don't shut down after the process ends.
- command: /bin/sh -c "chown -R paperless:paperless /usr/src/paperless/paperless-ngx/src/documents/static/frontend && chown -R paperless:paperless /usr/src/paperless/paperless-ngx/.ruff_cache && while sleep 1000; do :; done"
+ command: /bin/sh -c "chown -R paperless:paperless /usr/src/paperless/paperless-ngx/src/paperless/static/frontend && chown -R paperless:paperless /usr/src/paperless/paperless-ngx/.ruff_cache && while sleep 1000; do :; done"
gotenberg:
image: docker.io/gotenberg/gotenberg:8.17
name: Export frontend artifact from docker
run: |
docker create --name frontend-extract ${{ fromJSON(steps.docker-meta.outputs.json).tags[0] }}
- docker cp frontend-extract:/usr/src/paperless/src/documents/static/frontend src/documents/static/frontend/
+ docker cp frontend-extract:/usr/src/paperless/src/paperless/static/frontend src/paperless/static/frontend/
-
name: Upload frontend artifact
uses: actions/upload-artifact@v4
with:
name: frontend-compiled
- path: src/documents/static/frontend/
+ path: src/paperless/static/frontend/
retention-days: 7
build-release:
uses: actions/download-artifact@v4
with:
name: frontend-compiled
- path: src/documents/static/frontend/
+ path: src/paperless/static/frontend/
-
name: Download documentation artifact
uses: actions/download-artifact@v4
/export/
# this is where the compiled frontend is moved to.
-/src/documents/static/frontend/
+/src/paperless/static/frontend/
# mac os
.DS_Store
COPY --chown=1000:1000 ./src ./
# copy frontend
-COPY --from=compile-frontend --chown=1000:1000 /src/src/documents/static/frontend/ ./documents/static/frontend/
+COPY --from=compile-frontend --chown=1000:1000 /src/src/paperless/static/frontend/ ./paperless/static/frontend/
# add users, setup scripts
# Mount the compiled frontend to expected location
either manually or as part of the docker image build.
If the front end is still missing, make sure that the front end is
- compiled (files present in `src/documents/static/frontend`). If it
+ compiled (files present in `src/paperless/static/frontend`). If it
is not, you need to compile the front end yourself or download the
release archive instead of cloning the repository.
"with": "src/environments/environment.prod.ts"
}
],
- "outputPath": "../src/documents/static/frontend/",
+ "outputPath": "../src/paperless/static/frontend/",
"optimization": true,
"outputHashing": "none",
"sourceMap": false,