-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzerops.yml
29 lines (29 loc) · 1021 Bytes
/
zerops.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
zerops:
- setup: analogstore
build:
base: nodejs@22
envVariables:
VITE_MEDUSA_INSTANCE_URL: ${PROJECT_MEDUSA_INSTANCE_URL}
VITE_MEDUSA_PUBLISHABLE_KEY: ${medusa_CHANNEL_PUBLISHABLE_KEY}
VITE_PUBLIC_BASE_URL: ${ANALOG_STORE_URL}
IMGPROXY_KEY: ${imgproxy_IMGPROXY_KEY}
IMGPROXY_SALT: ${imgproxy_IMGPROXY_SALT}
IMGPROXY_URL: ${PROJECT_IMGPROXY_INSTANCE_URL}
buildCommands:
- npm i
- npm run build
deployFiles:
- dist
run:
base: nodejs@22
envVariables:
VITE_MEDUSA_INSTANCE_URL: ${PROJECT_MEDUSA_INSTANCE_URL}
VITE_MEDUSA_PUBLISHABLE_KEY: ${medusa_CHANNEL_PUBLISHABLE_KEY}
VITE_PUBLIC_BASE_URL: ${PROJECT_ANALOG_STORE_URL}
IMGPROXY_KEY: ${imgproxy_IMGPROXY_KEY}
IMGPROXY_SALT: ${imgproxy_IMGPROXY_SALT}
IMGPROXY_URL: ${PROJECT_IMGPROXY_INSTANCE_URL}
ports:
- port: 3000
httpSupport: true
start: node dist/analog/server/index.mjs