[ISSUE-99] Fix stack.env path in portainer-automation docker-compose #138

Merged
hitanshu merged 1 commits from Dave/CFTunnels:fix/stack-env-path into test 2026-07-08 19:04:44 +00:00
Member

Summary

Fix the env_file path in portainer-automation/docker-compose.yaml from stack.env to ../stack.env.

When Portainer's Git stack upload processes the compose file (which is in the portainer-automation/ subdirectory), it places stack.env at the repo root, not in the subdirectory. The relative path ../stack.env correctly points to the parent directory where Portainer stores it.

Issues

Testing

  • The root docker-compose.yaml already uses stack.env successfully at the repo root level
  • This change aligns with Portainer's behavior of storing env files at the compose root
## Summary Fix the `env_file` path in `portainer-automation/docker-compose.yaml` from `stack.env` to `../stack.env`. When Portainer's Git stack upload processes the compose file (which is in the `portainer-automation/` subdirectory), it places `stack.env` at the repo root, not in the subdirectory. The relative path `../stack.env` correctly points to the parent directory where Portainer stores it. ## Issues - Hithomelabs/CFTunnels#99 ## Testing - [x] The root `docker-compose.yaml` already uses `stack.env` successfully at the repo root level - [x] This change aligns with Portainer's behavior of storing env files at the compose root
Dave added 1 commit 2026-07-08 19:01:49 +00:00
Hithomelabs/CFTunnels#99: Fix stack.env path in portainer-automation docker-compose
All checks were successful
sample gradle build and test / build (pull_request) Successful in 2m0s
sample gradle build and test / tag (push) Successful in 6s
sample gradle build and test / build_tag_push (push) Successful in 2m22s
portainer-automation build and push / tag (push) Successful in 7s
portainer-automation build and push / build_tag_push (push) Successful in 2m2s
dbfb49f5a9
hitanshu requested review from hitanshu 2026-07-08 19:02:03 +00:00
hitanshu merged commit dbfb49f5a9 into test 2026-07-08 19:04:44 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
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: Hithomelabs/CFTunnels#138
No description provided.