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:
|
networks:
|
||||||
default:
|
default:
|
||||||
external:
|
external:
|
||||||
@@ -8,29 +10,28 @@ volumes:
|
|||||||
driver: local
|
driver: local
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: "addr=192.168.1.4,rw,nolock,soft"
|
o: "addr=192.168.1.192,rw,nolock,soft"
|
||||||
device: ":/srv/books/calibre"
|
device: ":/mnt/user/media/books/calibre"
|
||||||
import:
|
import:
|
||||||
driver: local
|
driver: local
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: "addr=192.168.1.4,rw,nolock,soft"
|
o: "addr=192.168.1.192,rw,nolock,soft"
|
||||||
device: ":/srv/books/calibre-import"
|
device: ":/mnt/user/media/books/calibre-import"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
calibre:
|
calibre:
|
||||||
image: lscr.io/linuxserver/calibre:latest
|
image: lscr.io/linuxserver/calibre:latest
|
||||||
container_name: calibre
|
container_name: calibre
|
||||||
security_opt:
|
security_opt:
|
||||||
- seccomp:unconfined #optional
|
- seccomp:unconfined
|
||||||
#security-opt:
|
|
||||||
# - seccomp:unconfined
|
|
||||||
environment:
|
environment:
|
||||||
- PUID=1024
|
- PUID=1000
|
||||||
- PGID=1024
|
- PGID=1000
|
||||||
- TZ=America/New_York
|
- TZ=America/New_York
|
||||||
- PASSWORD= #optional
|
- VIRTUAL_HOST=calibre.kolpacksoftware.com
|
||||||
- CLI_ARGS= #optional
|
- VIRTUAL_PORT=8080
|
||||||
|
- LETSENCRYPT_HOST=calibre.kolpacksoftware.com
|
||||||
volumes:
|
volumes:
|
||||||
- config:/config
|
- config:/config
|
||||||
- import:/calibre-import
|
- import:/calibre-import
|
||||||
@@ -38,4 +39,3 @@ services:
|
|||||||
- 8090:8080
|
- 8090:8080
|
||||||
- 8091:8081
|
- 8091:8081
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user