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.
31 lines
716 B
31 lines
716 B
services:
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
VITE_USE_MOCK_DATA: "false"
|
|
VITE_API_BASE_URL: "/api/shop"
|
|
VITE_MEDIA_ORIGIN: ""
|
|
image: shop_staging_web:latest
|
|
container_name: shop_staging_web
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env.staging
|
|
ports:
|
|
- "127.0.0.1:5562:3000"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- API_BASE_URL=http://najm_staging_web:8000
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/healthz"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|
|
networks:
|
|
- najm_staging_net
|
|
|
|
networks:
|
|
najm_staging_net:
|
|
external: true
|