Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Mount ".env" as volume #242

Merged
merged 3 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/src/app/goals/goal.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('GoalService', () => {
target: 200,
value: 100,
metric: 'steps',
synced: dayjs().subtract(2, 'hours').toDate(),
synced: goal.synced,
} as Goal);

const goals = await goalService.getGoalsForUser(
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
- backend
volumes:
- database:/usr/src/app/database
- ${PWD}/.env:/usr/src/app/.env
webserver:
build: ./frontend
ports:
Expand Down
Loading