docker-bits/lsio/ubooquity/docker-run.sh

20 lines
1.0 KiB
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Ubooquity](https://vaemendis.net/ubooquity/) is a free, lightweight and easy-
# to-use home server for your comics and ebooks. Use it to access your files
# from anywhere, with a tablet, an e-reader, a phone or a computer.
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=ubooquity \
2022-04-02 00:45:58 +00:00
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
2023-02-26 14:51:38 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
2023-03-11 00:53:14 +00:00
-e MAXMEM= `# To set the maximum memory. ( ex: set '1024' for 1GB )` \
2021-04-10 10:16:29 +00:00
-p 2202:2202 `# The library port.` \
-p 2203:2203 `# The admin port.` \
-v ${BASEDIR:-/volume1/docker}/ubooquity/config:/config `# Config files and database for ubooquity.` \
-v ${BASEDIR:-/volume1/docker}/ubooquity/books:/books `# Location of books.` \
-v ${BASEDIR:-/volume1/docker}/ubooquity/comics:/comics `# Location of comics.` \
-v ${BASEDIR:-/volume1/docker}/ubooquity/files:/files `# Location of raw files.` \
--restart unless-stopped \
ghcr.io/linuxserver/ubooquity