This repository has been archived by the owner on Nov 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
129 lines (114 loc) · 3.25 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
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
IDENTITYX_GRAPHQL_URI: ${IDENTITYX_GRAPHQL_URI-https://identity-x.io/graphql}
NEW_RELIC_ENABLED: ${NEW_RELIC_ENABLED-0}
NEW_RELIC_LICENSE_KEY: ${NEW_RELIC_LICENSE_KEY-(unset)}
NODE_ENV: development
RECAPTCHA_SECRET_KEY: ${RECAPTCHA_SECRET_KEY-(unset)}
SENDGRID_API_KEY: ${SENDGRID_API_KEY-(unset)}
SENDGRID_DEV_TO: [email protected]
YARN_CACHE_FOLDER: /.yarn-cache
x-env-aerilon: &env-aerilon
GRAPHQL_URI: ${GRAPHQL_URI-https://aerilon-v0x.graphql.base-cms.io}
OEMBED_URI: ${OEMBED_URI-https://aerilon-v0x.oembed.base-cms.io}
RSS_URI: ${RSS_URI-https://aerilon-v0x.rss.base-cms.io}
SITEMAPS_URI: ${SITEMAPS_URI-https://aerilon-v0x.sitemaps.base-cms.io}
x-env-caprica: &env-caprica
GRAPHQL_URI: ${GRAPHQL_URI-https://caprica-v0x.graphql.base-cms.io}
OEMBED_URI: ${OEMBED_URI-https://caprica-v0x.oembed.base-cms.io}
RSS_URI: ${RSS_URI-https://caprica-v0x.rss.base-cms.io}
SITEMAPS_URI: ${SITEMAPS_URI-https://caprica-v0x.sitemaps.base-cms.io}
x-env-picon: &env-picon
GRAPHQL_URI: ${GRAPHQL_URI-https://picon-v0x.graphql.base-cms.io}
OEMBED_URI: ${OEMBED_URI-https://picon-v0x.oembed.base-cms.io}
RSS_URI: ${RSS_URI-https://picon-v0x.rss.base-cms.io}
SITEMAPS_URI: ${SITEMAPS_URI-https://picon-v0x.sitemaps.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
cli:
<<: *node
working_dir: /root/sites
entrypoint: ["/root/node_modules/.bin/basecms-website"]
environment:
<<: *env
lint:
<<: *node
working_dir: /root
entrypoint: ["yarn"]
command: ["run", "lint"]
environment:
<<: *env
ogj:
<<: *node
<<: *site-cmd
working_dir: /root/sites/ogj
environment:
<<: *env
<<: *env-aerilon
PORT: 80
EXPOSED_PORT: 12166
LIVERELOAD_PORT: 35166
TENANT_KEY: ebm_ogj
ports:
- "12166:80"
- "35166:35166"
mundopmmi:
<<: *node
<<: *site-cmd
working_dir: /root/sites/mundopmmi
environment:
<<: *env
<<: *env-caprica
PORT: 80
EXPOSED_PORT: 12189
LIVERELOAD_PORT: 35189
TENANT_KEY: pmmi_mundo
ports:
- "12189:80"
- "35189:35189"
bizbash:
<<: *node
<<: *site-cmd
working_dir: /root/sites/bizbash
environment:
<<: *env
<<: *env-caprica
PORT: 80
EXPOSED_PORT: 12190
LIVERELOAD_PORT: 35190
TENANT_KEY: bizbash_bzb
ports:
- "12190:80"
- "35190:35190"