File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ RUN <<HEREDOC
55 apk add --no-cache --upgrade ca-certificates
66
77 # Add a user/group for Ory with a stable UID + GID:
8+ # NOTE: This only appears relevant for supporting hydra as non-root, otherwise unnecessary.
89 addgroup --system --gid 500 ory
910 adduser --system --uid 500 \
1011 --gecos "Ory User" \
@@ -15,6 +16,9 @@ RUN <<HEREDOC
1516
1617 # Create the sqlite directory with ownership to that user and group:
1718 # NOTE: This is required for read/write by SQLite.
19+ # - Path may be a default value somewhere, or only explicitly provided via DSN?
20+ # - Owner/Group is only relevant to permissions allowing the hydra process to read/write to the location.
21+ # - Bind mount volumes will replace the ownership with that of the host directory, requiring correction.
1822 install --owner ory --group ory --directory /var/lib/sqlite
1923HEREDOC
2024
You can’t perform that action at this time.
0 commit comments