first udpate
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: ${COMPOSE_PROJECT_NAME:-diyaa}
|
||||
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: ${CONTAINER_NAME:-diyaa}
|
||||
ports:
|
||||
- "${APP_PORT:-30002}:3000"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
NODE_ENV: ${NODE_ENV:-production}
|
||||
PORT: 3000
|
||||
HOSTNAME: 0.0.0.0
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q --spider http://127.0.0.1:3000 || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user