mirror of
https://github.com/papra-hq/papra.git
synced 2025-12-19 03:51:28 -06:00
chore(docker): add EMAILS_DRY_RUN environment variable to Dockerfiles (#302)
This commit is contained in:
committed by
GitHub
parent
fa7909c62d
commit
b62ddf2bc4
5
.changeset/cute-ghosts-draw.md
Normal file
5
.changeset/cute-ghosts-draw.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@papra/app-server": patch
|
||||
---
|
||||
|
||||
Set email setting to dry-run by default in docker
|
||||
@@ -40,6 +40,7 @@ ENV SERVER_SERVE_PUBLIC_DIR=true
|
||||
ENV DATABASE_URL=file:./app-data/db/db.sqlite
|
||||
ENV DOCUMENT_STORAGE_FILESYSTEM_ROOT=./app-data/documents
|
||||
ENV PAPRA_CONFIG_DIR=./app-data
|
||||
ENV EMAILS_DRY_RUN=true
|
||||
|
||||
RUN mkdir -p ./app-data/db ./app-data/documents ./ingestion
|
||||
|
||||
|
||||
@@ -51,5 +51,6 @@ ENV DATABASE_URL=file:./app-data/db/db.sqlite
|
||||
ENV DOCUMENT_STORAGE_FILESYSTEM_ROOT=./app-data/documents
|
||||
ENV PAPRA_CONFIG_DIR=./app-data
|
||||
ENV INGESTION_FOLDER_ROOT=./ingestion
|
||||
ENV EMAILS_DRY_RUN=true
|
||||
|
||||
CMD ["pnpm", "start:with-migrations"]
|
||||
Reference in New Issue
Block a user