[GH-ISSUE #1142] Docker compose file env syntax ERROR #333

Closed
opened 2026-02-26 18:46:33 +03:00 by kerem · 1 comment
Owner

Originally created by @david-loe on GitHub (May 3, 2024).
Original GitHub issue: https://github.com/documenso/documenso/issues/1142

Issue Description

When trying to start production docker image the following error occurs:

error while interpolating services.documenso.environment.[]: required variable NEXT_PRIVATE_SIGNING_LOCAL_FILE_PATH is missing a value: :-/opt/documenso/cert.p12

Steps to Reproduce

  1. download https://raw.githubusercontent.com/documenso/documenso/release/docker/production/compose.yml
  2. docker compose up

Expected Behavior

Running Containers

Current Behavior

Error

Screenshots (optional)

No response

Operating System [e.g., Windows 10]

Docker Compose version v2.27.0

Browser [e.g., Chrome, Firefox]

No response

Version [e.g., 2.0.1]

No response

Please check the boxes that apply to this issue report.

  • I have searched the existing issues to make sure this is not a duplicate.
  • I have provided steps to reproduce the issue.
  • I have included relevant environment information.
  • I have included any relevant screenshots.
  • I understand that this is a voluntary contribution and that there is no guarantee of resolution.
  • I want to work on creating a PR for this issue if approved
Originally created by @david-loe on GitHub (May 3, 2024). Original GitHub issue: https://github.com/documenso/documenso/issues/1142 ### Issue Description When trying to start production docker image the following error occurs: ``` error while interpolating services.documenso.environment.[]: required variable NEXT_PRIVATE_SIGNING_LOCAL_FILE_PATH is missing a value: :-/opt/documenso/cert.p12 ``` ### Steps to Reproduce 1. download https://raw.githubusercontent.com/documenso/documenso/release/docker/production/compose.yml 2. `docker compose up` ### Expected Behavior Running Containers ### Current Behavior Error ### Screenshots (optional) _No response_ ### Operating System [e.g., Windows 10] Docker Compose version v2.27.0 ### Browser [e.g., Chrome, Firefox] _No response_ ### Version [e.g., 2.0.1] _No response_ ### Please check the boxes that apply to this issue report. - [X] I have searched the existing issues to make sure this is not a duplicate. - [X] I have provided steps to reproduce the issue. - [X] I have included relevant environment information. - [X] I have included any relevant screenshots. - [X] I understand that this is a voluntary contribution and that there is no guarantee of resolution. - [X] I want to work on creating a PR for this issue if approved
kerem 2026-02-26 18:46:33 +03:00
Author
Owner

@david-loe commented on GitHub (May 3, 2024):

Issue is the ? in Line 61:

      - NEXT_PRIVATE_SIGNING_LOCAL_FILE_PATH=${NEXT_PRIVATE_SIGNING_LOCAL_FILE_PATH?:-/opt/documenso/cert.p12}

after removing it works

<!-- gh-comment-id:2092939985 --> @david-loe commented on GitHub (May 3, 2024): Issue is the `?` in Line 61: ``` - NEXT_PRIVATE_SIGNING_LOCAL_FILE_PATH=${NEXT_PRIVATE_SIGNING_LOCAL_FILE_PATH?:-/opt/documenso/cert.p12} ``` after removing it works
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#333
No description provided.