This repository has been archived by the owner on Jul 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
75 lines (66 loc) · 2.11 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
version: '3.7'
x-node-defaults: &node
tty: true
init: true
image: node:10.15
entrypoint: ["node"]
working_dir: /root
restart: always
volumes:
- ./:/root:cached
- ./node_modules:/root/node_modules:delegated
- yarn-cache:/.yarn-cache
x-env-defaults: &env
NEW_RELIC_ENABLED: ${NEW_RELIC_ENABLED-0}
NEW_RELIC_LICENSE_KEY: ${NEW_RELIC_LICENSE_KEY-(unset)}
NODE_ENV: development
# @todo the recaptcha values should be removed (?) once contact-us is moved to core.
RECAPTCHA_SECRET_KEY: ${RECAPTCHA_SECRET_KEY-(unset)}
# @todo the sendgrid values should be removed once the @base-cms/mailer service is created.
SENDGRID_API_KEY: ${SENDGRID_API_KEY-(unset)}
SENDGRID_DEV_TO: [email protected]
YARN_CACHE_FOLDER: /.yarn-cache
x-env-aerilon: &env-aerilon-staging
GRAPHQL_URI: ${GRAPHQL_URI-https://aerilon.graphql-staging.base-cms.io}
OEMBED_URI: ${OEMBED_URI-https://aerilon.oembed-staging.base-cms.io}
RSS_URI: ${RSS_URI-https://aerilon.rss-staging.base-cms.io}
SITEMAPS_URI: ${SITEMAPS_URI-https://aerilon.sitemaps-staging.base-cms.io}
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
entrypoint: ["node_modules/.bin/basecms-website"]
command: ["dev", "index.js"]
volumes:
yarn-cache: {}
services:
terminal:
<<: *node
working_dir: /root
entrypoint: ["/bin/bash"]
environment:
<<: *env
yarn:
<<: *node
working_dir: /root
entrypoint: ["yarn"]
environment:
<<: *env
# mywebsite:
# <<: *node
# <<: *site-cmd
# working_dir: /root/sites/mywebsite
# environment:
# <<: *env
# <<: *env-aerilon-staging
# PORT: 80
# EXPOSED_PORT: 9710
# LIVERELOAD_PORT: 19710
# TENANT_KEY: account_group
# CDN_IMAGE_HOSTNAME: img.mywebsite.com
# CDN_ASSET_HOSTNAME: cdn.mywebsite.com
# ports:
# - "9710:80"
# - "19710:19710"