mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
efea6f4c11
The Redis service has been added to the docker-compose.llm.yml file. This service is responsible for caching and cluster state. It extends the configuration from the docker-compose.base.yml file and uses the "redis" service defined there.
29 lines
539 B
YAML
29 lines
539 B
YAML
services:
|
|
|
|
# Redis for caching and cluster state
|
|
redis:
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: redis
|
|
|
|
llm:
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: llm
|
|
ports:
|
|
- '8547:8547'
|
|
build:
|
|
network: host
|
|
context: .
|
|
dockerfile: ./LLM/Dockerfile
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: 1
|
|
capabilities: [gpu]
|
|
|
|
networks:
|
|
oneuptime:
|
|
driver: bridge |