Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit f0f0d2e

Browse files
bpamiriclaude
andcommitted
Set LUCEE_EXTENSIONS as Docker ENV for PostgreSQL driver
The .env file approach doesn't work because LUCEE_EXTENSIONS must be available as a container environment variable at Lucee startup time, not just in the app's .env file. Setting it as a Dockerfile ENV ensures the CommandBox entrypoint processes it correctly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4b0e5ca commit f0f0d2e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

deploy/swarm/dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
FROM ortussolutions/commandbox:lucee6
22

3+
# Install PostgreSQL JDBC extension for CockroachDB connectivity
4+
ENV LUCEE_EXTENSIONS="465E1E35-2425-4F4E-8B3FAB638BD7280A;name=H2;version=1.3.172,BEC20D47-3268-1B354-C0E8E70B5CBC15A1;name=PostgreSQL;version=42.7.4"
5+
36
# Copy full application (ForgeBox dependencies resolved in CI via box install)
47
COPY . /app/
58

0 commit comments

Comments
 (0)