Skip to content

Commit

Permalink
Merge pull request #1815 from Fdawgs/refactor/poppler
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Mar 13, 2024
2 parents 9857259 + 7ee47c9 commit eed8ffb
Show file tree
Hide file tree
Showing 29 changed files with 2,435 additions and 1,304 deletions.
5 changes: 0 additions & 5 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,6 @@ REQ_BODY_MAX_BYTES=
# Leaving empty will disable bearer token auth
AUTH_BEARER_TOKEN_ARRAY=

### BINARY PATHS ##########################################

# Mandatory for Linux deployments, Windows/macOS binaries already present in node-poppler module
POPPLER_BINARY_PATH=

### OCR ###################################################

# Expects true or false.
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ jobs:
HOMEBREW_NO_ANALYTICS: 1
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1
POPPLER_BINARY_PATH: /usr/local/bin
run: |
brew install unrtf poppler
cp .env.template .env
Expand All @@ -135,8 +134,6 @@ jobs:
- name: Run Ubuntu tests
if: matrix.os == 'ubuntu-latest'
env:
POPPLER_BINARY_PATH: /usr/bin
run: |
sudo apt-get -y install poppler-data poppler-utils unrtf
cp .env.template .env
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ services:
LOG_ROTATION_FILENAME:
NODE_ENV: production
HOST: 0.0.0.0
POPPLER_BINARY_PATH: /usr/bin/
healthcheck:
test: curl "localhost:${PORT:-3000}/admin/healthcheck"
interval: 60s
Expand Down

0 comments on commit eed8ffb

Please sign in to comment.