forked from saleor/storefront
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
30 lines (29 loc) · 981 Bytes
/
docker-compose.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
30
version: "3"
services:
saleor-app-checkout:
container_name: saleor-app-checkout
build:
context: .
dockerfile: Dockerfile.base
args:
- SALEOR_API_URL=http://localhost:8000/graphql/ # handled by nginx
- CHECKOUT_APP_URL=http://localhost:3001
- CHECKOUT_STOREFRONT_URL=http://localhost:3001/checkout-spa/
- CLOUD_DEPLOYMENT_URL=
ports:
- 3001:3001
command: pnpm turbo run start --filter=saleor-app-checkout...
storefront:
container_name: storefront
build:
context: .
dockerfile: Dockerfile.base
args:
- SALEOR_API_URL=http://localhost:8000/graphql/ # handled by nginx
- STOREFRONT_URL=http://localhost:3000
- CHECKOUT_APP_URL=http://localhost:3001
- CHECKOUT_STOREFRONT_URL=http://localhost:3001/checkout-spa/
- CLOUD_DEPLOYMENT_URL=
ports:
- 3000:3000
command: sh -c '(nginx &) && pnpm turbo run start --filter=storefront...'