Skip to content

Commit

Permalink
menu: create volumes with current user
Browse files Browse the repository at this point in the history
Most services won't explicitly create volumes/ -folder when added, hence
Docker will create volumes as owned by root. This will later cause
problems for build hooks trying to prepare directories.

E.g. adding nextcloud later will fail with:

    Error running PreBuildHook on 'nextcloud'
    [Errno 13] Permission denied: './volumes/nextcloud'

Creating volumes as part of the initial git-clone will ensure it's owned
by the correct folder.
  • Loading branch information
ukkopahis committed Apr 29, 2022
1 parent 732889a commit d35c692
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#ignore data folders for containers
/services/
/volumes/
/backups/
/.tmp/*
__pycache__
Expand Down
1 change: 1 addition & 0 deletions volumes/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*

0 comments on commit d35c692

Please sign in to comment.