Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
communications-backbone
Commits
3c1c7c3d
Commit
3c1c7c3d
authored
2 years ago
by
James Kirk
Browse files
Options
Download
Email Patches
Plain Diff
refactor: added restart policies, API now relies on mq setup
parent
e5a6395c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
docker/docker-compose.yaml
docker/docker-compose.yaml
+7
-8
No files found.
docker/docker-compose.yaml
View file @
3c1c7c3d
...
...
@@ -2,23 +2,19 @@ version: '3.8'
services
:
rabbitmq__local
:
image
:
rabbitmq:management
restart
:
unless-stopped
ports
:
-
"
5672:5672"
# - "15672:15672" # Admin web console
expose
:
-
"
5672"
healthcheck
:
test
:
[
"
CMD"
,
"
rabbitmq-diagnostics"
,
"
-q"
,
"
ping"
]
interval
:
5s
timeout
:
20s
retries
:
3
container_name
:
rmq
soar_bus
:
build
:
context
:
..
dockerfile
:
docker/Dockerfile
restart
:
on-failure
restart
:
unless-stopped
depends_on
:
-
rabbitmq__local
environment
:
...
...
@@ -29,12 +25,15 @@ services:
build
:
context
:
..
dockerfile
:
docker/Dockerfile
restart
:
unless-stopped
ports
:
-
"
8087:8087"
expose
:
-
"
8087"
command
:
"
api.py"
depends_on
:
-
rabbitmq__local
environment
:
-
MQ_HOST=${MQ_HOST}
volumes
:
-
${DATA_DIR}/data:/data
\ No newline at end of file
-
${DATA_DIR}/data:/data
command
:
"
api.py"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment