-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (36 loc) · 942 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
version: '3.4'
networks:
api:
external:
name: api.reaction.localhost
auth.reaction.localhost:
external:
name: auth.reaction.localhost
services:
web:
build:
context: .
args:
BUILD_ENV: "development"
command: "/usr/local/src/reaction-app/bin/start"
env_file:
- ./.env
environment:
REACTION_APP_NAME: "reaction-next-starterkit.web"
networks:
api:
aliases:
- storefront
auth.reaction.localhost:
ports:
- 4000:4000
volumes:
- $HOME/.cache/yarn-offline-mirror:/home/node/.cache/yarn-offline-mirror
- web-yarn:/home/node/.cache/yarn
- .:/usr/local/src/reaction-app
- empty_node_modules:/usr/local/src/reaction-app/node_modules # do not link node_modules in, and persist it between dc up runs
- node_modules:/usr/local/src/node_modules
volumes:
web-yarn:
empty_node_modules:
node_modules: