Update calibre compose for production deployment
This commit is contained in:
+12
-12
@@ -1,3 +1,5 @@
|
||||
# https://thebloody.cloud/posts/Installing-Web-Calibre-in-Docker/
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
@@ -8,29 +10,28 @@ volumes:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: "addr=192.168.1.4,rw,nolock,soft"
|
||||
device: ":/srv/books/calibre"
|
||||
o: "addr=192.168.1.192,rw,nolock,soft"
|
||||
device: ":/mnt/user/media/books/calibre"
|
||||
import:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: "addr=192.168.1.4,rw,nolock,soft"
|
||||
device: ":/srv/books/calibre-import"
|
||||
o: "addr=192.168.1.192,rw,nolock,soft"
|
||||
device: ":/mnt/user/media/books/calibre-import"
|
||||
|
||||
services:
|
||||
calibre:
|
||||
image: lscr.io/linuxserver/calibre:latest
|
||||
container_name: calibre
|
||||
security_opt:
|
||||
- seccomp:unconfined #optional
|
||||
#security-opt:
|
||||
# - seccomp:unconfined
|
||||
- seccomp:unconfined
|
||||
environment:
|
||||
- PUID=1024
|
||||
- PGID=1024
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=America/New_York
|
||||
- PASSWORD= #optional
|
||||
- CLI_ARGS= #optional
|
||||
- VIRTUAL_HOST=calibre.kolpacksoftware.com
|
||||
- VIRTUAL_PORT=8080
|
||||
- LETSENCRYPT_HOST=calibre.kolpacksoftware.com
|
||||
volumes:
|
||||
- config:/config
|
||||
- import:/calibre-import
|
||||
@@ -38,4 +39,3 @@ services:
|
||||
- 8090:8080
|
||||
- 8091:8081
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
Reference in New Issue
Block a user