-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 854 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 854 Bytes
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
services:
web:
build:
context: .
container_name: any_folder
image: any_folder
volumes:
- static_volume:/app/static
- storage_volume:/app/storage
- database_volume:/app/database
- C:\MyFirstFolder:/app/AnythingLLM
# - C:\MySecondFolder:/app/AnythingLLM2
env_file:
- .env
environment:
- DJANGO_SETTINGS_MODULE=main.settings
- PYTHONPATH=/app
- DATABASE_DIR=/app/database
- STORAGE_DIR=/app/storage
- HOST_FOLDER=/app/AnythingLLM
- PORT=8000
ports:
- "8000:8000"
extra_hosts:
- "host.docker.internal:host-gateway"
tty: true
stdin_open: true
restart: always
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
volumes:
static_volume:
storage_volume:
database_volume: