fix: make pockethost bind mount read-only

This commit is contained in:
Ben Allfree 2023-11-03 04:52:36 +00:00
parent 5685e2ace2
commit 51a98bd025

View File

@ -159,7 +159,7 @@ export const createPocketbaseService = async (
'8090/tcp': [{ HostPort: `${port}` }], '8090/tcp': [{ HostPort: `${port}` }],
}, },
Binds: [ Binds: [
`${dirname(binPath)}:/host_bin`, `${dirname(binPath)}:/host_bin:ro`,
`${mkInstanceDataPath(slug)}:/host_data`, `${mkInstanceDataPath(slug)}:/host_data`,
`${ `${
isMothership isMothership