forked from OpenC3/cosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose-build.yaml
129 lines (116 loc) · 3.66 KB
/
compose-build.yaml
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
# encoding: ascii-8bit
# Copyright 2022 Ball Aerospace & Technologies Corp.
# All Rights Reserved.
#
# This program is free software; you can modify and/or redistribute it
# under the terms of the GNU Affero General Public License
# as published by the Free Software Foundation; version 3 with
# attribution addendums as found in the LICENSE.txt
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# Modified by OpenC3, Inc.
# All changes Copyright 2022, OpenC3, Inc.
# All Rights Reserved
#
# This file may also be used under the terms of a commercial license
# if purchased from OpenC3, Inc.
version: "3.5"
services:
openc3-ruby:
build:
context: "openc3-ruby"
network: host
args:
ALPINE_VERSION: ${ALPINE_VERSION}
ALPINE_BUILD: ${ALPINE_BUILD}
APK_URL: ${APK_URL}
RUBYGEMS_URL: ${RUBYGEMS_URL}
OPENC3_DEPENDENCY_REGISTRY: ${OPENC3_DEPENDENCY_REGISTRY}
image: "${OPENC3_REGISTRY}/openc3inc/openc3-ruby:${OPENC3_TAG}"
openc3-node:
build:
context: "openc3-node"
network: host
args:
OPENC3_REGISTRY: ${OPENC3_REGISTRY}
OPENC3_TAG: ${OPENC3_TAG}
image: "${OPENC3_REGISTRY}/openc3inc/openc3-node:${OPENC3_TAG}"
depends_on:
- "openc3-ruby"
openc3-base:
build:
context: "openc3"
network: host
args:
OPENC3_REGISTRY: ${OPENC3_REGISTRY}
OPENC3_TAG: ${OPENC3_TAG}
image: "${OPENC3_REGISTRY}/openc3inc/openc3-base:${OPENC3_TAG}"
depends_on:
- "openc3-ruby"
openc3-minio:
build:
context: "openc3-minio"
network: host
args:
OPENC3_DEPENDENCY_REGISTRY: ${OPENC3_DEPENDENCY_REGISTRY}
image: "${OPENC3_REGISTRY}/openc3inc/openc3-minio:${OPENC3_TAG}"
openc3-redis:
build:
context: "openc3-redis"
network: host
args:
OPENC3_DEPENDENCY_REGISTRY: ${OPENC3_DEPENDENCY_REGISTRY}
image: "${OPENC3_REGISTRY}/openc3inc/openc3-redis:${OPENC3_TAG}"
openc3-cosmos-cmd-tlm-api:
build:
context: "openc3-cosmos-cmd-tlm-api"
network: host
args:
OPENC3_REGISTRY: ${OPENC3_REGISTRY}
OPENC3_TAG: ${OPENC3_TAG}
image: "${OPENC3_REGISTRY}/openc3inc/openc3-cosmos-cmd-tlm-api:${OPENC3_TAG}"
depends_on:
- "openc3-base"
openc3-cosmos-script-runner-api:
build:
context: "openc3-cosmos-script-runner-api"
network: host
args:
OPENC3_REGISTRY: ${OPENC3_REGISTRY}
OPENC3_TAG: ${OPENC3_TAG}
image: "${OPENC3_REGISTRY}/openc3inc/openc3-cosmos-script-runner-api:${OPENC3_TAG}"
depends_on:
- "openc3-base"
openc3-operator:
build:
context: "openc3-operator"
network: host
args:
OPENC3_REGISTRY: ${OPENC3_REGISTRY}
OPENC3_TAG: ${OPENC3_TAG}
image: "${OPENC3_REGISTRY}/openc3inc/openc3-operator:${OPENC3_TAG}"
depends_on:
- "openc3-base"
openc3-traefik:
build:
context: "openc3-traefik"
network: host
args:
OPENC3_DEPENDENCY_REGISTRY: ${OPENC3_DEPENDENCY_REGISTRY}
image: "${OPENC3_REGISTRY}/openc3inc/openc3-traefik:${OPENC3_TAG}"
openc3-cosmos-init:
build:
context: "openc3-cosmos-init"
network: host
args:
NPM_URL: ${NPM_URL}
OPENC3_DEPENDENCY_REGISTRY: ${OPENC3_DEPENDENCY_REGISTRY}
OPENC3_REGISTRY: ${OPENC3_REGISTRY}
OPENC3_TAG: ${OPENC3_TAG}
image: "${OPENC3_REGISTRY}/openc3inc/openc3-cosmos-init:${OPENC3_TAG}"
depends_on:
- "openc3-node"
- "openc3-base"