21 lines
498 B
Django/Jinja
21 lines
498 B
Django/Jinja
# calibre docker compose
|
|
version: '3.9'
|
|
services:
|
|
calibre:
|
|
image: "{{ calibre_image }}"
|
|
container_name: calibre-service
|
|
restart: always
|
|
env_file:
|
|
- "{{ calibre_config_path | expanduser }}/env.calibre.conf"
|
|
ports:
|
|
- "{{ calibre_http_port }}:8083"
|
|
# Add more ports if necessary
|
|
networks:
|
|
- calibre-net
|
|
# optional
|
|
volumes:
|
|
- "{{ calibre_config_volume }}:/config"
|
|
- "{{ calibre_library_volume }}:/books"
|
|
|
|
networks:
|
|
calibre-net: {} |