Skip to content

Commit

Permalink
Docker: Add brittle-api as a service in the compose setup
Browse files Browse the repository at this point in the history
  • Loading branch information
UlrichEckhardt committed Mar 28, 2024
1 parent 51686bc commit eca5db2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
services:
brittle-api:
build:
context: .
target: brittle-api
command:
- serve
- --api-failure-rate=0.5
- --api-silent-failure-rate=0.3
- --api-min-latency=1
- --api-max-latency=3
- :8000
ports:
- 8000:8000

# Note: The broker doesn't start as a service here, it just runs the broker
# executable once. This is rather a placeholder than an actual service.
mongodb-broker:
Expand Down

0 comments on commit eca5db2

Please sign in to comment.