-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (58 loc) · 1.57 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: "3.9"
services:
# backend:
# image: node:18-alpine
# build: .
# environment:
# - SHOPIFY_API_KEY=$SHOPIFY_API_KEY
# - SHOPIFY_ALIA_LEARN_EXT_ID=$SHOPIFY_ALIA_LEARN_EXT_ID
# - SHOPIFY_API_SECRET=$SHOPIFY_API_SECRET_KEY
# - SCOPES=$SHOPIFY_SCOPES
# - DB_USER=$DB_USER
# - DB_PASSWORD=$DB_PASSWORD
# ports:
# - "$BACKEND_PORT:8081"
# volumes:
# - "./backend:/app"
# - "./customer-app/public:/customer-app"
# - "./merchant-app/:/merchant-app"
# - ".:/app"
# depends_on:
# - customer-app
# - merchant-app
# working_dir: /app
# entrypoint: npm run dev
# working_dir: "/app"
# entrypoint: sh -c \
# "npm install --save \
# cd /app/backend \
# npm install --save \
# cd /app/merchant-app \
# npm install --save \
# cd /app \
# npm run dev"
# entrypoint: sh -c "npm install --save && npm run build"
# customer-app:
# image: node:18-alpine
# volumes:
# - "./customer-app:/app"
# ports:
# - "3000:3000"
# working_dir: "/app"
# entrypoint: sh -c "npm install --save && npm run start"
# merchant-app:
# image: node:18-alpine
# volumes:
# - "./merchant-app:/app"
# environment:
# - SHOPIFY_API_KEY=$SHOPIFY_API_KEY
# working_dir: "/app"
# entrypoint: sh -c "npm install --save && npm run dev"
db:
image: postgres
ports:
- "5432:5432"
environment:
- POSTGRES_USER=$DB_USER
- POSTGRES_PASSWORD=$DB_PASSWORD
- POSTGRES_DB=$DB_NAME