Skip to content

Commit

Permalink
fix(microservices): add bind mount for microservices config in compos…
Browse files Browse the repository at this point in the history
…e template (#983)

* fix(microservices): add bind mount for microservices config in compose template

Added a volume to bind `~/.config/didroom` to `/root/.config/didroom` in the `dockerComposeTemplate` function to ensure the microservices configuration is kept between deployments

* ci: use node@20 in testing
  • Loading branch information
matteo-cristino authored Feb 3, 2025
1 parent 85d1dd0 commit d678b53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- uses: dyne/pnpm@main
with:
working-directory: webapp
node-version: 20.14.0
- run: make build
- run: pnpm i18n:lint
working-directory: webapp
Expand Down Expand Up @@ -62,6 +63,7 @@ jobs:
- uses: dyne/pnpm@main
with:
working-directory: ./webapp
node-version: 20.14.0
- run: pnpm add -D @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/error @semantic-release/git @semantic-release/github @semantic-release/npm @semantic-release/release-notes-generator semantic-release
- run: pnpm semantic-release
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ function dockerComposeTemplate(
- type: bind
source: ./${serviceFullName}/public
target: /app/public
- type: bind
source: ~/.config/didroom
target: /root/.config/didroom
`;
}

Expand Down

0 comments on commit d678b53

Please sign in to comment.