commit 2a8f2ca4c4cc20fa2948d67ee4f5d017bba73df3 Author: Artemiy Solopov Date: Sat Sep 12 18:15:20 2026 +0300 Shared Compose file and Artemis config diff --git a/README.md b/README.md new file mode 100644 index 0000000..1333ed7 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +TODO diff --git a/compose.shared.yml b/compose.shared.yml new file mode 100644 index 0000000..c6cbf9b --- /dev/null +++ b/compose.shared.yml @@ -0,0 +1,12 @@ +name: neon_vertigo_shared + +services: + apache-artemis: + image: apache/artemis:latest-alpine + ports: + - "1883:1883" + - "61616:61616" + - "8161:8161" + profiles: ["shared"] # So that we only run one during the "separate" dev + volumes: + - ./config/artemis:/var/lib/artemis-instance/etc-override diff --git a/config/artemis/artemis-roles.properties b/config/artemis/artemis-roles.properties new file mode 100644 index 0000000..080f347 --- /dev/null +++ b/config/artemis/artemis-roles.properties @@ -0,0 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You under the Apache License, Version 2.0 +## (the "License"); you may not use this file except in compliance with +## the License. You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## --------------------------------------------------------------------------- + +amq = artemis +admin = artemis +message = api,service,web diff --git a/config/artemis/artemis-users.properties b/config/artemis/artemis-users.properties new file mode 100644 index 0000000..a2b045f --- /dev/null +++ b/config/artemis/artemis-users.properties @@ -0,0 +1,12 @@ +## --------------------------------------------------------------------------- +# Majorly generated by Artemis itself, adjusted/changed as needed +# The container needs to be recreated after this file is changed +# --------------------------------------------------------------------------- + +artemis = ENC(1024:FDA78179C08CE02C4D286ABF3E636282634A308EF7D2627CBE29C92FC6786FD7:00DBC6660262EE555E96153AC5E99FE7A02CE02806C2788ACDF255615A486473DA9437DAD6D14E2E42A7B1A0F1708B4BAF78BA2B36F30BE4CC582E95AD3AA159) +# Username: api, password: password +api = ENC(1024:5DB22471388C134FB4945AC9FBB423690A676072B0A62A9272E5C093635BC410:2633D205150921787171E535F6086DBC870BCEF1C473DC1D8B7F8845A4B451DD5485A222D591E79157D468DDD213287A4B4EE9EAA37D078679027A5F430D0D19) +# Username: service, password: password +service = ENC(1024:AF978E11BBB84586548F05F7738C114925A34DFCF616E013373DDCBAF4EAA2A5:4ACFB4B439B4FFCD5BFA8973126822A1C4681E54476D784AF733C987E2DF53D8C68B643BB7EA5244E5C3B05FC29410DF275FDC8C4436F08E1596B0FFC04170AF) +# Username: web, password: password +web = ENC(1024:8F40F723430B156E7C976AF4E99588D6A4C4A31FA20492667770B07C5F5D1AA4:F11F0CA875FEA7174D86CCFAF286D2941159A7F81085A5A7C00FCE89C9E5C8A55D7461C38141CAB1BE4739BF50CE3E884354FB5075BBBCA1D0D83DBED0E86BC7) diff --git a/config/artemis/broker.xml b/config/artemis/broker.xml new file mode 100644 index 0000000..7e5a3ed --- /dev/null +++ b/config/artemis/broker.xml @@ -0,0 +1,290 @@ + + + + + + + + + + + 0.0.0.0 + + + true + + + 1 + + + ASYNCIO + + + false + + data/paging + + data/bindings + + data/journal + + data/large-messages + + + + + + + true + + 2 + + 10 + + 4096 + + 10M + + + 48000 + + + + 4096 + + + + + + + + + + + + + + + + + + + + + 5000 + + + 90 + + + true + + 120000 + + 60000 + + HALT + + + 1608000 + + + + + + -1 + + + + + + + + + + + + + + tcp://0.0.0.0:61616?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;amqpMinLargeMessageSize=102400;protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE;useEpoll=true;amqpCredits=1000;amqpLowCredits=300;amqpDuplicateDetection=true;supportAdvisory=false;suppressInternalManagementObjects=false + + + tcp://0.0.0.0:5672?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=AMQP;useEpoll=true;amqpCredits=1000;amqpLowCredits=300;amqpMinLargeMessageSize=102400;amqpDuplicateDetection=true + + + tcp://0.0.0.0:61613?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=STOMP;useEpoll=true + + + tcp://0.0.0.0:5445?anycastPrefix=jms.queue.;multicastPrefix=jms.topic.;protocols=HORNETQ,STOMP;useEpoll=true + + + tcp://0.0.0.0:1883?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=MQTT;useEpoll=true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DLQ + ExpiryQueue + 0 + + -1 + 10 + PAGE + true + true + + + + DLQ + ExpiryQueue + 0 + + 10 + PAGE + true + true + false + false + + + 10M + + + + -1 + -1 + + + + -1 + 20M + + + + -1 + -1 + + + + +
+ + + +
+
+ + + +
+ +
+ + + + +
+