feat: add ollama & PostgresSQL & Qdrant & RabbitMQ

This commit is contained in:
Sun-ZhenXing
2025-09-21 20:54:17 +08:00
parent 166f0f2a50
commit b250573e72
11 changed files with 205 additions and 1 deletions

1
src/rabbitmq/README.md Normal file
View File

@@ -0,0 +1 @@
# RabbitMQ

View 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: