Update file docker-compose.yml.j2
This commit is contained in:
parent
abb36dc0b9
commit
da995962d8
@ -1,25 +1,3 @@
|
||||
services:
|
||||
flibusta:
|
||||
image: "{{ flibusta_image }}"
|
||||
container_name: flibusta
|
||||
restart: unless-stopped
|
||||
mem_limit: "2g"
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
ports:
|
||||
- "{{ int_ip }}:{{ flibusta_port }}:8080"
|
||||
environment:
|
||||
- TZ={{ timezone }}
|
||||
- WEBDAV_ENABLED={{ flibusta_webdav_enabled | lower }}
|
||||
- OPDS_ENABLED={{ flibusta_opds_enabled | lower }}
|
||||
volumes:
|
||||
- "{{ flibusta_base_dir }}/config:/app/config:rw"
|
||||
- "{{ flibusta_base_dir }}/data:/app/rw:rw"
|
||||
- "{{ flibusta_books_dir }}:/books:rw"
|
||||
{%- if flibusta_calibre_integration %}
|
||||
- "{{ calibre_library_dir }}:/calibre:ro"
|
||||
{%- endif %}
|
||||
version: '3.8'
|
||||
services:
|
||||
flibusta:
|
||||
image: "{{ flibusta_image }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user