feat(infra/dev): adiciona RabbitMQ ao stack de desenvolvimento
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a42d492f67
commit
7f4812e0db
@ -29,8 +29,28 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- app-net
|
- app-net
|
||||||
|
|
||||||
|
rabbitmq:
|
||||||
|
image: rabbitmq:3-management-alpine
|
||||||
|
environment:
|
||||||
|
- RABBITMQ_DEFAULT_USER=${RABBITMQ_USERNAME:-guest}
|
||||||
|
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_PASSWORD:-guest}
|
||||||
|
ports:
|
||||||
|
- "15672:15672"
|
||||||
|
volumes:
|
||||||
|
- rabbitmq-data:/var/lib/rabbitmq
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
update_config:
|
||||||
|
order: start-first
|
||||||
|
networks:
|
||||||
|
- app-net
|
||||||
|
|
||||||
modumfiscal-api:
|
modumfiscal-api:
|
||||||
image: modumfiscal-api:latest
|
image: modumfiscal-api:latest
|
||||||
|
environment:
|
||||||
|
- RABBITMQ_HOST=rabbitmq
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
@ -73,3 +93,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
app-net:
|
app-net:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
rabbitmq-data:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user