-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
69 lines (59 loc) · 1.56 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
63
64
65
66
67
68
69
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)}
EMAILX_SERVE_URI: ${EMAILX_SERVE_URI-https://delivery.mindfulcms.com/smg/default/compat/email-banner}
NATIVEX_SERVE_URI: ${NATIVEX_SERVE_URI-https://delivery.mindfulcms.com/smg/default/compat/native-email/email-placement}
x-env-leonis: &env-leonis
<<: *env
GRAPHQL_URI: ${GRAPHQL_URI-https://graphql.leonis.base.parameter1.com}
x-env-tauron: &env-tauron
<<: *env
GRAPHQL_URI: ${GRAPHQL_URI-https://graphql.tauron.base.parameter1.com}
x-env-virgon: &env-virgon
<<: *env
GRAPHQL_URI: ${GRAPHQL_URI-https://graphql.virgon.base.parameter1.com}
services:
terminal:
<<: *node
working_dir: /root
entrypoint: ["/bin/bash"]
environment:
<<: *env
yarn:
<<: *node
working_dir: /root
entrypoint: ["yarn"]
environment:
<<: *env
all:
<<: *newsletter-cmd
working_dir: /root/tenants/all
environment:
<<: *env-virgon
PORT: 80
EXPOSED_PORT: 22290
LIVERELOAD_PORT: 32290
TENANT_KEY: smg_all
ports:
- "22290:80"
- "32290:32290"
volumes:
yarn-cache: {}