compose: default TAG=latest and NODE_ENV=production; remove version warning

This commit is contained in:
Bivekich
2025-09-01 22:30:21 +03:00
parent 82828dfaf3
commit 05d31ed842

View File

@ -1,16 +1,14 @@
version: '3.8'
services:
app:
build:
context: .
dockerfile: Dockerfile
image: openparsersferav-app:${TAG}
image: openparsersferav-app:${TAG:-latest}
restart: on-failure:5
ports:
- '3004:3000'
environment:
- NODE_ENV=${NODE_ENV}
- NODE_ENV=${NODE_ENV:-production}
- DATABASE_URL=${DATABASE_URL}
- RUN_MIGRATIONS=${RUN_MIGRATIONS:-false}
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true