-
Notifications
You must be signed in to change notification settings - Fork 129
/
compose-build.yaml
118 lines (106 loc) · 2.93 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
# 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.
#
# This program may also be used under the terms of a commercial or
# enterprise edition license of COSMOS if purchased from the
# copyright holder
version: "3.5"
services:
cosmos-ruby:
build:
context: "cosmos-ruby"
network: host
args:
ALPINE_VERSION: ${ALPINE_VERSION}
ALPINE_BUILD: ${ALPINE_BUILD}
APK_URL: ${APK_URL}
RUBYGEMS_URL: ${RUBYGEMS_URL}
COSMOS_REGISTRY: ${COSMOS_REGISTRY}
image: "${COSMOS_REGISTRY}/ballaerospace/cosmosc2-ruby:${COSMOS_TAG}"
cosmos-node:
build:
context: "cosmos-node"
network: host
args:
COSMOS_REGISTRY: ${COSMOS_REGISTRY}
COSMOS_TAG: ${COSMOS_TAG}
image: "${COSMOS_REGISTRY}/ballaerospace/cosmosc2-node:${COSMOS_TAG}"
depends_on:
- "cosmos-ruby"
cosmos-base:
build:
context: "cosmos"
network: host
args:
COSMOS_REGISTRY: ${COSMOS_REGISTRY}
COSMOS_TAG: ${COSMOS_TAG}
image: "${COSMOS_REGISTRY}/ballaerospace/cosmosc2-base:${COSMOS_TAG}"
depends_on:
- "cosmos-ruby"
cosmos-minio:
build:
context: "cosmos-minio"
network: host
args:
COSMOS_REGISTRY: ${COSMOS_REGISTRY}
cosmos-redis:
build:
context: "cosmos-redis"
network: host
args:
COSMOS_REGISTRY: ${COSMOS_REGISTRY}
cosmos-cmd-tlm-api:
build:
context: "cosmos-cmd-tlm-api"
network: host
args:
COSMOS_REGISTRY: ${COSMOS_REGISTRY}
COSMOS_TAG: ${COSMOS_TAG}
depends_on:
- "cosmos-base"
cosmos-script-runner-api:
build:
context: "cosmos-script-runner-api"
network: host
args:
COSMOS_REGISTRY: ${COSMOS_REGISTRY}
COSMOS_TAG: ${COSMOS_TAG}
depends_on:
- "cosmos-base"
cosmos-operator:
build:
context: "cosmos-operator"
network: host
args:
COSMOS_REGISTRY: ${COSMOS_REGISTRY}
COSMOS_TAG: ${COSMOS_TAG}
depends_on:
- "cosmos-base"
cosmos-traefik:
build:
context: "cosmos-traefik"
network: host
args:
COSMOS_REGISTRY: ${COSMOS_REGISTRY}
cosmos-init:
build:
context: "cosmos-init"
network: host
args:
NPM_URL: ${NPM_URL}
COSMOS_REGISTRY: ${COSMOS_REGISTRY}
COSMOS_TAG: ${COSMOS_TAG}
depends_on:
- "cosmos-node"
- "cosmos-base"