Skip to content
Discussion options

You must be logged in to vote

@foofoodog, thank you, and well done getting it to run. You found the catch: the container runs as the user with the number 999, so the folder you mount has to be writable by that user. sudo chown 999:999 ./shared-projects does that, and user: "1000:1000" in the compose file (your own numbers, id -u and id -g) runs the container as you instead. The README only said "writable"; it and the compose file will say this from the next release on.

For LAYERLING_SHARED_PROJECTS_DIR=/srv/layerling-projects npm run start two things are needed: npm run build once beforehand (start serves what the build made), and a folder the user who starts it may write to; a folder under /srv usually belongs to roo…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@henmedia
Comment options

Answer selected by foofoodog
@foofoodog
Comment options

@henmedia
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants