Skip to content
This repository was archived by the owner on Dec 30, 2025. It is now read-only.

Commit 50dc9f6

Browse files
authored
Add docker-compose configuration for abs-kosync-web
1 parent 9398b65 commit 50dc9f6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docker-compose.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
services:
2+
abs-kosync-web:
3+
build: .
4+
container_name: abs_kosync_web
5+
restart: unless-stopped
6+
command: python /app/web_server.py
7+
environment:
8+
- TZ=America/New_York
9+
- LOG_LEVEL=INFO
10+
- ABS_SERVER=https://your-audiobookshelf-url.com
11+
- ABS_KEY=your-audiobookshelf-api-key
12+
- KOSYNC_SERVER=https://your-kosync-url.com/api/koreader
13+
- KOSYNC_USER=your-kosync-username
14+
- KOSYNC_KEY=your-kosync-password
15+
volumes:
16+
- /path/to/your/books:/books
17+
- /path/to/your/data:/data
18+
- ./web_server.py:/app/web_server.py
19+
- ./templates:/app/templates
20+
ports:
21+
- "8080:5757"
22+
networks:
23+
- your-network-name
24+
25+
networks:
26+
your-network-name:
27+
external: true

0 commit comments

Comments
 (0)