Skip to content

Commit

Permalink
Merge pull request #101 from aviate-labs/hotfix/fix-docker-logs-file-…
Browse files Browse the repository at this point in the history
…not-found-issue

bind the logs inside docker-compose.yml
  • Loading branch information
mourginakis authored Oct 26, 2023
2 parents dce7f9b + f0dbd7b commit daf8ee3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
*~
.vscode/

# logs
logs/

# misc
*.csv
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ services:
- type: bind
source: .env
target: /app/.env
- type: bind
source: ./logs/
target: /app/logs/
11 changes: 11 additions & 0 deletions logs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This `logs/` folder needs to exist for docker to be able to bind to it.
# We use this gitignore file to commit the folder to the repo, so it exists
# in our github workflow and can be run with CI.
# Empty directories are not tracked by default in git.


# Ignore everything in this directory
*
# Except this file
!.gitignore

0 comments on commit daf8ee3

Please sign in to comment.