-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
76 lines (67 loc) · 2.08 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
70
71
72
73
74
75
76
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-env-defaults: &env
CSS_MODE: ${CSS_MODE-optimized}
BING_API_KEY: ${BING_API_KEY-}
GTM_CONTAINER_ID: ${GTM_CONTAINER_ID}
NEW_RELIC_ENABLED: ${NEW_RELIC_ENABLED-0}
NEW_RELIC_LICENSE_KEY: ${NEW_RELIC_LICENSE_KEY-(unset)}
NODE_ENV: development
SENDGRID_API_KEY: ${SENDGRID_API_KEY-(unset)}
SENDGRID_DEV_TO: [email protected]
YARN_CACHE_FOLDER: /.yarn-cache
IDENTITYX_API_TOKEN: ${IDENTITYX_API_TOKEN-(unset)}
BASE_BROWSE_GRAPHQL_URI: ${BASE_BROWSE_GRAPHQL_URI-https://base-browse.tauron.base.parameter1.com/graphql}
USE_LINK_INJECTED_BODY: ${USE_LINK_INJECTED_BODY-false}
RECAPTCHA_V3_SITE_KEY: ${RECAPTCHA_V3_SITE_KEY-(unset)}
RECAPTCHA_V3_SECRET_KEY: ${RECAPTCHA_V3_SECRET_KEY-(unset)}
x-env-tauron: &env-tauron
GRAPHQL_URI: ${GRAPHQL_URI-https://graphql.tauron.base.parameter1.com}
OEMBED_URI: ${OEMBED_URI-https://oembed.tauron.base.parameter1.com}
RSS_URI: ${RSS_URI-https://rss.tauron.base.parameter1.com}
SITEMAPS_URI: ${SITEMAPS_URI-https://sitemaps.tauron.base.parameter1.com}
x-env-development: &env-development
GRAPHQL_URI: ${GRAPHQL_URI-http://host.docker.internal:10002}
OEMBED_URI: ${OEMBED_URI-http://host.docker.internal:10013}
RSS_URI: ${RSS_URI-http://host.docker.internal:10011}
SITEMAPS_URI: ${SITEMAPS_URI-http://host.docker.internal:10009}
x-site-command: &site-cmd
<<: *node
entrypoint: ["yarn"]
command: ["dev"]
volumes:
yarn-cache: {}
services:
terminal:
<<: *node
working_dir: /root
entrypoint: ["/bin/bash"]
environment:
<<: *env
yarn:
<<: *node
working_dir: /root
entrypoint: ["yarn"]
environment:
<<: *env
bizbash:
<<: *site-cmd
working_dir: /root/sites/bizbash.com
environment:
<<: *env
PORT: 80
EXPOSED_PORT: 12195
LIVERELOAD_PORT: 35195
ports:
- "12195:80"
- "35195:35195"