-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
59 lines (56 loc) · 928 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
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
version: '3.4'
services:
nginx:
image: nginx:latest
container_name: nginx_reverse_proxy
ports:
- '80:80'
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- admin
- api
networks:
main:
aliases:
- nginx
admin:
build:
dockerfile: Dockerfile
context: .
args:
- BUILD_CONTEXT=apps/admin
env_file:
- .env
environment:
- PORT=3000
ports:
- 3000:3000
volumes:
- ./:/shopify-app
networks:
main:
aliases:
- admin
api:
build:
dockerfile: Dockerfile
context: .
args:
- BUILD_CONTEXT=apps/api
env_file:
- .env
environment:
- PORT=8000
ports:
- 8000:8000
volumes:
- ./:/shopify-app
networks:
main:
aliases:
- api
volumes:
node_modules:
networks:
main: