chore(stack): bump web to bun 1.3.2, root user, skip auth seed

This commit is contained in:
Esdras Renan 2025-11-19 20:49:44 -03:00
parent 7508bd5f82
commit 8787599ac7

View file

@ -3,9 +3,9 @@ version: "3.8"
services:
web:
image: oven/bun:1.3.1
# Run as non-root to avoid creating root-owned files on host mounts
user: "1000:1000"
image: oven/bun:1.3.2
# Rodamos como root para permitir apt-get (Node 22, toolchain) no boot
user: "root"
working_dir: /app
command: >
bash -lc "bash /app/scripts/start-web.sh"
@ -17,6 +17,7 @@ services:
BUN_INSTALL_CACHE_DIR: "/tmp/bun-cache"
# Garante instalação de devDependencies para o build (prisma CLI)
NPM_CONFIG_PRODUCTION: "false"
SKIP_AUTH_SEED: "true"
# IMPORTANTE: "NEXT_PUBLIC_*" é consumida pelo navegador (cliente). Use a URL pública do Convex.
# Não use o hostname interno do Swarm aqui, pois o browser não consegue resolvê-lo.
NEXT_PUBLIC_CONVEX_URL: "${NEXT_PUBLIC_CONVEX_URL}"