only run webserver for elibsrv

This commit is contained in:
Nemo 2019-11-04 01:51:56 +05:30
parent f02ee532ad
commit 1a234f5025
1 changed files with 5 additions and 1 deletions

View File

@ -31,11 +31,15 @@ module "elibsrv" {
}, },
] ]
# The corresponding scan command is run using a cronjob
# `docker run --volume "/mnt/xwing/media/EBooks:/books:ro" --volume "/mnt/xwing/config/elibsrv:/config" --env "elibsrv_thumbheight=320" captn3m0/elibsrv scan
command = ["serve"]
keep_image = true
env = [ env = [
"elibsrv_thumbheight=320", "elibsrv_thumbheight=320",
"elibsrv_title=Scarif Media Archives", "elibsrv_title=Scarif Media Archives",
] ]
networks_advanced = [ networks_advanced = [
{ {
name = "traefik" name = "traefik"