-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
58 lines (50 loc) · 1.12 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
version: '3.7'
x-node-defaults: &node
tty: true
init: true
image: node:14.21
entrypoint: ["node"]
working_dir: /root
restart: always
volumes:
- ./:/root:cached
- ./node_modules:/root/node_modules:delegated
- yarn-cache:/.yarn-cache
x-newsletter-command: &newsletter-cmd
<<: *node
entrypoint: ["yarn"]
command: ["dev"]
x-env-defaults: &env
YARN_CACHE_FOLDER: /.yarn-cache
NODE_ENV: development
NEW_RELIC_ENABLED: ${NEW_RELIC_ENABLED-0}
NEW_RELIC_LICENSE_KEY: ${NEW_RELIC_LICENSE_KEY-(unset)}
x-env-tauron: &env-tauron
GRAPHQL_URI: ${GRAPHQL_URI-https://tauron.graphql.base.parameter1.com}
services:
terminal:
<<: *node
working_dir: /root
entrypoint: ["/bin/bash"]
environment:
<<: *env
yarn:
<<: *node
working_dir: /root
entrypoint: ["yarn"]
environment:
<<: *env
multi:
<<: *newsletter-cmd
working_dir: /root/tenants/multi
environment:
<<: *env-tauron
PORT: 80
EXPOSED_PORT: 21094
LIVERELOAD_PORT: 31094
TENANT_KEY: indm_multi
ports:
- "21094:80"
- "31094:31094"
volumes:
yarn-cache: {}