23 lines
552 B
YAML
23 lines
552 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: runner
|
|
args:
|
|
API_URL: ${API_URL:-https://api.quyoshli.uz/api}
|
|
image: getgreen-uz:latest
|
|
container_name: getgreen-uz
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${PORT:-3000}:3000"
|
|
environment:
|
|
NODE_ENV: production
|
|
API_URL: ${API_URL:-https://api.quyoshli.uz/api}
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://localhost:3000/"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 15s
|