-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.example.yml
47 lines (33 loc) · 1.21 KB
/
docker-compose.example.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
services:
nano-bots:
image: nano-bots
environment:
ENVIRONMENT: production
PORT: 3048
RUN_DANGEROUSLY_AS_SUDO: "false"
RVM: "false"
FORCE_SANDBOXED: "true"
ALLOW_CARTRIDGES_PATH_HEADER: "true"
NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE
NANO_BOTS_END_USER: your-user
NANO_BOTS_CARTRIDGES_PATH: /cartridges
# NANO_BOTS_STATE_PATH=/state
NANO_BOTS_RACK_ATTACK: "false"
NANO_BOTS_NEW_RELIC: "false"
ANTHROPIC_API_KEY: your-api-key
COHERE_API_KEY: your-api-key
# GOOGLE_API_KEY: your-api-key
# GOOGLE_CREDENTIALS_FILE_PATH: /root/.config/google-credentials.json
# GOOGLE_PROJECT_ID: your-project-id
GOOGLE_REGION: us-east4
MARITACA_API_KEY: 'your-api-key'
MISTRAL_API_KEY: your-api-key
OLLAMA_API_ADDRESS: http://localhost:11434
OPENAI_API_KEY: your-access-token
ports:
- 3048:3048
volumes:
# - ./google-credentials.json:/root/.config/google-credentials.json
- /home/your-user/.local/share/nano-bots/cartridges:/cartridges
# If you are running the Ollama server on your localhost:
# network_mode: host # WARNING: Be careful, this may be a security risk.