feat: add ollama & PostgresSQL & Qdrant & RabbitMQ
This commit is contained in:
35
src/rabbitmq/docker-compose.yaml
Normal file
35
src/rabbitmq/docker-compose.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
x-default: &default
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- &localtime /etc/localtime:/etc/localtime:ro
|
||||
- &timezone /etc/timezone:/etc/timezone:ro
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 100m
|
||||
|
||||
services:
|
||||
rabbitmq:
|
||||
<<: *default
|
||||
image: rabbitmq:${RABBITMQ_VERSION:-4.1.4-management-alpine}
|
||||
volumes:
|
||||
- rabbitmq_data:/var/lib/rabbitmq
|
||||
- *localtime
|
||||
- *timezone
|
||||
ports:
|
||||
- ${RABBITMQ_PORT:-5672}:5672
|
||||
- ${RABBITMQ_MANAGEMENT_PORT:-15672}:15672
|
||||
environment:
|
||||
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER:-admin}
|
||||
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS:-password}
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
|
||||
volumes:
|
||||
rabbitmq_data:
|
||||
Reference in New Issue
Block a user