mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
fix: delete instance data
This commit is contained in:
parent
b79863df28
commit
f502a4b461
@ -72,9 +72,10 @@ global.EventSource = EventSource
|
||||
slug: MOTHERSHIP_NAME(),
|
||||
port: MOTHERSHIP_PORT(),
|
||||
env: {
|
||||
DATA_ROOT: DATA_ROOT(),
|
||||
DATA_ROOT: `/home/pocketbase/data`,
|
||||
},
|
||||
extraBinds: [
|
||||
`${DATA_ROOT()}:/home/pocketbase/data`,
|
||||
`${MOTHERSHIP_HOOKS_DIR()}:/home/pocketbase/pb_hooks`,
|
||||
`${MOTHERSHIP_MIGRATIONS_DIR()}:/home/pocketbase/pb_migrations`,
|
||||
],
|
||||
|
@ -91,6 +91,9 @@ export function InstanceLogger(instanceId: string, target: string) {
|
||||
})
|
||||
}
|
||||
})
|
||||
tail.on('error', (e) => {
|
||||
error(`Caught a tail error ${e}`)
|
||||
})
|
||||
|
||||
cm.add(() => tail.unwatch())
|
||||
} catch (e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user