fix(convex): load env via env_file instead of sourcing .env (spaces-safe)
This commit is contained in:
parent
604f7b55b0
commit
48e17eb43b
1 changed files with 2 additions and 1 deletions
|
|
@ -45,11 +45,12 @@ services:
|
|||
bash -lc "corepack enable \
|
||||
&& corepack prepare pnpm@9 --activate \
|
||||
&& pnpm install --frozen-lockfile \
|
||||
&& set -a && . ./.env && set +a \
|
||||
&& pnpm convex:dev --port 3210 --hostname 0.0.0.0"
|
||||
volumes:
|
||||
- /srv/apps/sistema:/app
|
||||
- convex_data:/root/.convex
|
||||
env_file:
|
||||
- /srv/apps/sistema/.env
|
||||
environment:
|
||||
NODE_ENV: "production"
|
||||
deploy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue