-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
27 lines (26 loc) · 908 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
services:
# Memcached for storing rate-limits data.
memcached:
image: memcached:latest
networks:
- 1min-relay-network
restart: unless-stopped
# Does not require to expose port. Only used for internal communication.
# 1min-relay
1min-relay:
image: kokofixcomputers/1min-relay:latest
container_name: 1min-relay-container
ports:
- "5001:5001"
networks:
- 1min-relay-network
depends_on:
- memcached
environment:
# Use comma-separated string for ONE_MIN_AVAILABLE_MODELS Default: "mistral-nemo", "gpt-4o", "deepseek-chat"
- SUBSET_OF_ONE_MIN_PERMITTED_MODELS=mistral-nemo,gpt-4o-mini,deepseek-chat
# Set your boolean as "True" or "False" for PERMIT_MODELS_FROM_SUBSET_ONLY Default: False
- PERMIT_MODELS_FROM_SUBSET_ONLY=False
restart: unless-stopped
networks:
1min-relay-network: # Define the custom network