chore: start pocketbase in debugging mode in dev mode

This commit is contained in:
Ben Allfree 2023-11-09 07:21:01 -08:00
parent 5e7703c346
commit 9fa8cf5793

View File

@ -1,4 +1,4 @@
import { APEX_DOMAIN, mkInstanceDataPath } from '$constants'
import { APEX_DOMAIN, DEBUG, mkInstanceDataPath } from '$constants'
import { InstanceLogger, PortService } from '$services'
import {
LoggerService,
@ -128,7 +128,13 @@ export const createPocketbaseService = async (
const createOptions: ContainerCreateOptions = {
Image: INSTANCE_IMAGE_NAME,
Cmd: [`./pocketbase`, `serve`, `--http`, `0.0.0.0:8090`],
Cmd: [
`./pocketbase`,
`serve`,
`--http`,
`0.0.0.0:8090`,
DEBUG() ? `--debug` : '',
],
Env: map(
{
...env,