compose: default TAG=latest and NODE_ENV=production; remove version warning
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user