Commit Graph
34 Commits
Author SHA1 Message Date
Björn Strausmann 36dac8b030 refactor(stacks): plumb sourceType through requireComposeFile to avoid redundant lookup
startStack, restartStack, stopStack, and downStack each ran a separate
getStackSource query just to determine isGitStack for useOverrideFile,
even though requireComposeFile -> getStackComposeFile already looks up
the same stack_sources record.

Return sourceType from getStackComposeFile (GetComposeFileResult) and
requireComposeFile (RequireComposeResult), and have all four callers
read result.sourceType instead of querying the database again. No
behavior change: useOverrideFile is still set to true exactly when the
stack's source type is 'git'.
2026-07-31 04:58:47 +02:00
Björn Strausmann 144a73a10a fix(stacks): apply env override file on stop/down for git stacks (#1313)
startStack and restartStack compute isGitStack and pass useOverrideFile
accordingly, so executeLocalCompose writes .env.dockhand with the DB
non-secret overrides before invoking docker compose. stopStack and
downStack never set this option, so whenever a .env file exists in the
stack's working directory (e.g. committed alongside compose.yaml in a
git stack), the legacy shell-env fallback in executeLocalCompose is
suppressed and .env.dockhand is never written or attached via
--env-file. Any required variable that only exists as a Dockhand panel
override then fails interpolation on stop/down, even though the same
stack deploys and starts successfully.

Mirror startStack/restartStack: compute isGitStack from the stack
source and pass useOverrideFile through in both operations.
2026-07-31 04:58:47 +02:00
jarek 49809865dc 1.0.39 2026-07-26 10:27:12 +02:00
jarek 64b6dcd744 1.0.38 2026-07-25 08:41:01 +02:00
jarek c718ac9a84 1.0.37 2026-07-11 15:31:52 +02:00
jarek ce12d7ae9f 1.0.35 2026-06-19 08:21:22 +02:00
jarek efb634701c 1.0.34 2026-06-17 08:21:38 +02:00
jarek 83c3a5ea09 1.0.33 2026-06-15 14:56:51 +02:00
jarek 3cbcfa3cdb 1.0.32 2026-06-06 16:18:05 +02:00
jarek c8b3acc07e 1.0.30 2026-05-30 08:42:21 +02:00
jarek e7100f8926 1.0.29 2026-05-17 08:02:31 +02:00
jarek 002d969a5d 1.0.28 2026-05-09 09:55:18 +02:00
jarek b8f06426e3 option to delete associated volumes when removing a stack (#655) 2026-04-19 09:39:42 +02:00
jarek afee09866d v1.0.25 2026-04-18 08:34:20 +02:00
jarek 0bb10cabb9 v1.0.23 2026-04-03 11:51:42 +02:00
jarek 55f3101a19 v1.0.21 2026-03-13 08:22:46 +01:00
Matt Boris d51bfb0d60 fix: cap docker API version (fixes #679) 2026-03-03 07:12:56 +01:00
jarek 2829e7c0e9 v1.0.20 2026-03-02 10:54:30 +01:00
jarek 1066ce9eb1 v1.0.20 2026-03-02 10:41:42 +01:00
jarek 9c451aedf9 v1.0.19 2026-03-02 07:59:58 +01:00
jarek 8ee4fe4d68 1.0.18 2026-02-16 08:46:56 +01:00
jarek 48b9bde8ae 1.0.16 2026-02-09 10:15:21 +01:00
jarek 188ba1967d 1.0.15 2026-02-08 09:59:06 +01:00
jarek 610548ed66 1.0.14 2026-01-31 09:35:19 +01:00
jarek 8f3a7eb435 1.0.13 2026-01-28 07:34:12 +01:00
jarek 86a06d9de0 1.0.12 2026-01-22 16:23:26 +01:00
jarek a3cc26d958 1.0.11 2026-01-20 15:39:08 +01:00
jarek c185d00dc3 1.0.9 2026-01-17 15:06:14 +01:00
jarek 62636426bf 1.0.8 2026-01-14 08:18:20 +01:00
Jarek Krochmalski 7643807717 1.0.7 2026-01-11 07:16:18 +01:00
jarek a1e07b1a10 1.0.5 2026-01-02 15:29:56 +01:00
jarek 607d340b71 1.0.5 2026-01-02 12:24:43 +01:00
jarek 242f8df49d 1.0.5 2026-01-01 16:00:34 +01:00
jarek 73c9f580a1 proper src structure, dockerfile, entrypoint 2025-12-29 08:40:11 +01:00