File tree 7 files changed +104
-3
lines changed
7 files changed +104
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Which TAG to deploy, latest or specific version, e.g. 5.4.2
2
- OPENC3_TAG = 6.0.2
2
+ OPENC3_TAG = latest
3
3
# Comment this variable to disable local mode (don't set it to 0)
4
4
OPENC3_LOCAL_MODE = 1
5
5
# Comment this variable to disable installing the Demo (don't set it to 0)
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ services:
114
114
OPENC3_BUCKET_USERNAME : " ${OPENC3_BUCKET_USERNAME}"
115
115
OPENC3_BUCKET_PASSWORD : " ${OPENC3_BUCKET_PASSWORD}"
116
116
OPENC3_SERVICE_PASSWORD : " ${OPENC3_SERVICE_PASSWORD}"
117
+ ANYCABLE_REDIS_URL : " redis://${OPENC3_REDIS_USERNAME}:${OPENC3_REDIS_PASSWORD}@${OPENC3_REDIS_HOSTNAME}:${OPENC3_REDIS_PORT}"
117
118
env_file :
118
119
- " .env"
119
120
@@ -147,6 +148,7 @@ services:
147
148
OPENC3_SR_BUCKET_USERNAME : " ${OPENC3_SR_BUCKET_USERNAME}"
148
149
OPENC3_SR_BUCKET_PASSWORD : " ${OPENC3_SR_BUCKET_PASSWORD}"
149
150
OPENC3_SERVICE_PASSWORD : " ${OPENC3_SERVICE_PASSWORD}"
151
+ ANYCABLE_REDIS_URL : " redis://${OPENC3_REDIS_USERNAME}:${OPENC3_REDIS_PASSWORD}@${OPENC3_REDIS_HOSTNAME}:${OPENC3_REDIS_PORT}"
150
152
env_file :
151
153
- " .env"
152
154
@@ -155,7 +157,8 @@ services:
155
157
image : " ${OPENC3_REGISTRY}/${OPENC3_NAMESPACE}/openc3-operator${OPENC3_IMAGE_SUFFIX}:${OPENC3_TAG}"
156
158
restart : " unless-stopped"
157
159
# ports:
158
- # - "127.0.0.1:7779:7779" # Open port for the demo router
160
+ # - "127.0.0.1:7779:7779" # Open port for the demo router
161
+ # - "127.0.0.1:8081:8081/udp" # Open a udp port
159
162
depends_on :
160
163
- " openc3-redis"
161
164
- " openc3-redis-ephemeral"
Original file line number Diff line number Diff line change 1
1
user healthcheck on nopass -@all +cluster|info +ping
2
2
user openc3 on #022bd57403439b2a3ec0c081cdd35d40a199bbd4ee6fc0e5113edd4fe1c10071 allkeys allchannels -@all +@read +@write +@pubsub +@connection +@transaction +info
3
- user scriptrunner on #e808c74e210256ee7cf3ec165271544167de776d526f7fa94243e5cdcc08b0c1 resetkeys resetchannels ~running-script* ~*script-locks ~*script-breakpoints ~*openc3_log_messages &_action_cable_internal &script-api:* -@all +@read +@write +@pubsub +@hash +@connection
3
+ user scriptrunner on #e808c74e210256ee7cf3ec165271544167de776d526f7fa94243e5cdcc08b0c1 resetkeys resetchannels ~running-script* ~*script-locks ~*script-breakpoints ~*openc3_log_messages &__anycable__ & _action_cable_internal &script-api:* -@all +@read +@write +@pubsub +@hash +@connection
4
4
user admin on #749f09bade8aca755660eeb17792da880218d4fbdc4e25fbec279d7fe9f65d70 +@admin
5
5
user default off
Original file line number Diff line number Diff line change 35
35
replacement : " $1.html"
36
36
routers :
37
37
# Note: Priorities control router check order with highest priority evaluated first
38
+ # Route to the openc3 cmd/tlm api websockets
39
+ api-cable-router :
40
+ rule : PathPrefix(`/openc3-api/cable`)
41
+ service : service-api-cable
42
+ priority : 10
43
+ # Route to the openc3 script api websockets
44
+ script-cable-router :
45
+ rule : PathPrefix(`/script-api/cable`)
46
+ service : service-script-cable
47
+ priority : 9
38
48
# Route to the openc3 cmd/tlm api
39
49
api-router :
40
50
rule : PathPrefix(`/openc3-api`)
@@ -100,6 +110,18 @@ http:
100
110
service : service-minio
101
111
priority : 1
102
112
services :
113
+ # The OpenC3 cmd/tlm api cable service
114
+ service-api-cable :
115
+ loadBalancer :
116
+ passHostHeader : false
117
+ servers :
118
+ - url : " http://openc3-cosmos-cmd-tlm-api:3901"
119
+ # The OpenC3 script api cable service
120
+ service-script-cable :
121
+ loadBalancer :
122
+ passHostHeader : false
123
+ servers :
124
+ - url : " http://openc3-cosmos-script-runner-api:3902"
103
125
# The OpenC3 cmd/tlm api service
104
126
service-api :
105
127
loadBalancer :
Original file line number Diff line number Diff line change 52
52
replacement : " $1.html"
53
53
routers :
54
54
# Note: Priorities control router check order with highest priority evaluated first
55
+ # Route to the openc3 cmd/tlm api websockets
56
+ api-cable-router :
57
+ rule : PathPrefix(`/openc3-api/cable`)
58
+ service : service-api-cable
59
+ priority : 10
60
+ tls :
61
+ certResolver : myresolver
62
+ domains :
63
+ - main : " mydomain.com"
64
+ # Route to the openc3 script api websockets
65
+ script-cable-router :
66
+ rule : PathPrefix(`/script-api/cable`)
67
+ service : service-script-cable
68
+ priority : 9
69
+ tls :
70
+ certResolver : myresolver
71
+ domains :
72
+ - main : " mydomain.com"
55
73
# Route to the openc3 cmd/tlm api
56
74
api-router :
57
75
rule : PathPrefix(`/openc3-api`)
@@ -149,6 +167,18 @@ http:
149
167
domains :
150
168
- main : " mydomain.com"
151
169
services :
170
+ # The OpenC3 cmd/tlm api cable service
171
+ service-api-cable :
172
+ loadBalancer :
173
+ passHostHeader : false
174
+ servers :
175
+ - url : " http://openc3-cosmos-cmd-tlm-api:3901"
176
+ # The OpenC3 script api cable service
177
+ service-script-cable :
178
+ loadBalancer :
179
+ passHostHeader : false
180
+ servers :
181
+ - url : " http://openc3-cosmos-script-runner-api:3902"
152
182
# The OpenC3 cmd/tlm api service
153
183
service-api :
154
184
loadBalancer :
Original file line number Diff line number Diff line change 52
52
replacement : " $1.html"
53
53
routers :
54
54
# Note: Priorities control router check order with highest priority evaluated first
55
+ # Route to the openc3 cmd/tlm api websockets
56
+ api-cable-router :
57
+ rule : PathPrefix(`/openc3-api/cable`)
58
+ service : service-api-cable
59
+ priority : 10
60
+ tls : {}
61
+ # Route to the openc3 script api websockets
62
+ script-cable-router :
63
+ rule : PathPrefix(`/script-api/cable`)
64
+ service : service-script-cable
65
+ priority : 9
66
+ tls : {}
55
67
# Route to the openc3 cmd/tlm api
56
68
api-router :
57
69
rule : PathPrefix(`/openc3-api`)
@@ -125,6 +137,18 @@ http:
125
137
priority : 1
126
138
tls : {}
127
139
services :
140
+ # The OpenC3 cmd/tlm api cable service
141
+ service-api-cable :
142
+ loadBalancer :
143
+ passHostHeader : false
144
+ servers :
145
+ - url : " http://openc3-cosmos-cmd-tlm-api:3901"
146
+ # The OpenC3 script api cable service
147
+ service-script-cable :
148
+ loadBalancer :
149
+ passHostHeader : false
150
+ servers :
151
+ - url : " http://openc3-cosmos-script-runner-api:3902"
128
152
# The OpenC3 cmd/tlm api service
129
153
service-api :
130
154
loadBalancer :
Original file line number Diff line number Diff line change 35
35
replacement : " $1.html"
36
36
routers :
37
37
# Note: Priorities control router check order with highest priority evaluated first
38
+ # Route to the openc3 cmd/tlm api websockets
39
+ api-cable-router :
40
+ rule : PathPrefix(`/openc3-api/cable`)
41
+ service : service-api-cable
42
+ priority : 10
43
+ # Route to the openc3 script api websockets
44
+ script-cable-router :
45
+ rule : PathPrefix(`/script-api/cable`)
46
+ service : service-script-cable
47
+ priority : 9
38
48
# Route to the openc3 cmd/tlm api
39
49
api-router :
40
50
rule : PathPrefix(`/openc3-api`)
@@ -100,6 +110,18 @@ http:
100
110
service : service-minio
101
111
priority : 1
102
112
services :
113
+ # The OpenC3 cmd/tlm api cable service
114
+ service-api-cable :
115
+ loadBalancer :
116
+ passHostHeader : false
117
+ servers :
118
+ - url : " http://openc3-cosmos-cmd-tlm-api:3901"
119
+ # The OpenC3 script api cable service
120
+ service-script-cable :
121
+ loadBalancer :
122
+ passHostHeader : false
123
+ servers :
124
+ - url : " http://openc3-cosmos-script-runner-api:3902"
103
125
# The OpenC3 cmd/tlm api service
104
126
service-api :
105
127
loadBalancer :
You can’t perform that action at this time.
0 commit comments