-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (46 loc) · 1.27 KB
/
Copy pathdocker-compose.yml
File metadata and controls
49 lines (46 loc) · 1.27 KB
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
version: '3.8'
services:
home:
build:
context: .
dockerfile: home/Dockerfile
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- NEXT_PUBLIC_HOME_URL=http://localhost:3000
- NEXT_PUBLIC_CATALOG_URL=http://localhost:3001
- NEXT_PUBLIC_ACCOUNT_URL=http://localhost:3002
- NEXT_PUBLIC_HOME_ASSET_PREFIX=
volumes:
- ./shared:/app/shared
catalog:
build:
context: .
dockerfile: catalog/Dockerfile
ports:
- "3001:3000"
environment:
- NODE_ENV=production
- NEXT_PUBLIC_HOME_URL=http://localhost:3000
- NEXT_PUBLIC_CATALOG_URL=http://localhost:3001
- NEXT_PUBLIC_ACCOUNT_URL=http://localhost:3002
- NEXT_PUBLIC_CATALOG_BASE_PATH=/catalog
- NEXT_PUBLIC_CATALOG_ASSET_PREFIX=
volumes:
- ./shared:/app/shared
account:
build:
context: .
dockerfile: account/Dockerfile
ports:
- "3002:3000"
environment:
- NODE_ENV=production
- NEXT_PUBLIC_HOME_URL=http://localhost:3000
- NEXT_PUBLIC_CATALOG_URL=http://localhost:3001
- NEXT_PUBLIC_ACCOUNT_URL=http://localhost:3002
- NEXT_PUBLIC_ACCOUNT_BASE_PATH=/account
- NEXT_PUBLIC_ACCOUNT_ASSET_PREFIX=
volumes:
- ./shared:/app/shared