You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
838 B

services:
web:
build:
context: .
dockerfile: Dockerfile
args:
NEXT_PUBLIC_API_BASE_URL: https://habib.nwhco.ir
NEXT_PUBLIC_SECURITY_KEY: t5yugymks5458fd4ghfg6h6fg
image: marriage_staging_web:latest
container_name: marriage_staging_web
restart: unless-stopped
env_file:
- .env.staging
ports:
- "127.0.0.1:5561:3000"
environment:
- NODE_ENV=production
- NEXT_PUBLIC_API_BASE_URL=https://habib.nwhco.ir
- API_BASE_URL=http://web:8000
- NEXT_PUBLIC_SECURITY_KEY=t5yugymks5458fd4ghfg6h6fg
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3000/healthz"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
networks:
- najm_staging_net
networks:
najm_staging_net:
external: true