Skip to content

Commit

Permalink
feat: use current user's uid and gid in docker compose file
Browse files Browse the repository at this point in the history
For reasons unknown, the use of the uid/gid 10000 in the docker-compose.yml file is not allowing access to mapped files from the host filesystem. Updated the docker-compose.yml file to reference the UID and GID environment variables.

Should hopefully address: #43
  • Loading branch information
subnova authored May 6, 2024
1 parent 0a0c44f commit be6e586
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ services:
interval: 10s
timeout: 10s
retries: 3
user: "10000:10000"
user: "${UID}:${GID}"

manager:
build:
Expand Down Expand Up @@ -97,7 +97,7 @@ services:
interval: 10s
timeout: 10s
retries: 3
user: "10000:10000"
user: "${UID}:${GID}"

firestore:
image: google/cloud-sdk
Expand Down

0 comments on commit be6e586

Please sign in to comment.