-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
37 lines (36 loc) · 910 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
28
29
30
31
32
33
34
35
36
37
---
version: '3.6'
services:
app:
container_name: calibre_rest
build:
context: .
dockerfile: docker/Dockerfile
target: app
image: ghcr.io/kencx/calibre_rest:0.1.0-app
restart: unless-stopped
environment:
- "CALIBRE_REST_PATH=/opt/calibre/calibredb"
- "CALIBRE_REST_LIBRARY=/library"
- "CALIBRE_REST_LOG_LEVEL=INFO"
ports:
- 8000:80
volumes:
- "./library:/library"
- "./calibre:/opt/calibre"
calibre:
container_name: calibre_rest_calibre
build:
context: .
dockerfile: docker/Dockerfile
target: calibre
image: ghcr.io/kencx/calibre_rest:0.1.0-calibre
restart: unless-stopped
environment:
- "CALIBRE_REST_PATH=/opt/calibre/calibredb"
- "CALIBRE_REST_LIBRARY=/library"
- "CALIBRE_REST_LOG_LEVEL=DEBUG"
ports:
- 8000:80
volumes:
- "./library:/library"