Files
getgreen.uz/docker-compose.yml
2026-04-15 19:53:38 +05:00

25 lines
613 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}
extra_hosts:
- "host.docker.internal:host-gateway"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3000/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s