-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
48 lines (45 loc) · 1.14 KB
/
docker-compose.dev.yml
File metadata and controls
48 lines (45 loc) · 1.14 KB
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
48
# Development compose — run with: docker compose -f docker-compose.dev.yml watch
services:
grimoire:
build:
context: .
image: hunterreadca/grimoire
container_name: grimoire
restart: unless-stopped
ports:
- "9481:9481"
volumes:
- ./library:/library:ro
- ./data:/data
environment:
- LIBRARY_PATH=/library
- DATA_PATH=/data
- WORKERS=2
- SECRET_KEY=7ba05239cdd5752065eb6bd5db866bf8a0919d2760b1fcf158744f5ef5833834
- VALKEY_URL=redis://valkey:6379/0
- OPDS_ENABLED=true
- LOG_LEVEL=debug
develop:
watch:
- action: sync+restart
path: ./backend
target: /app/backend
ignore:
- __pycache__
- "*.pyc"
- "*.pyo"
- tests/
- action: rebuild
path: ./backend/requirements.txt
- action: rebuild
path: ./frontend/src
- action: rebuild
path: ./frontend/package.json
valkey:
image: valkey/valkey:8-alpine
container_name: grimoire-valkey
restart: unless-stopped
volumes:
- valkey-data:/data
volumes:
valkey-data: