diff --git a/lsio/zotero/docker-compose.yaml b/lsio/zotero/docker-compose.yaml new file mode 100644 index 0000000..83fb1d0 --- /dev/null +++ b/lsio/zotero/docker-compose.yaml @@ -0,0 +1,26 @@ +# [Zotero](https://www.zotero.org/) is a free, easy-to-use tool to help you +# collect, organize, annotate, cite, and share research. + +--- +version: "2.1" +services: + zotero: + image: ghcr.io/linuxserver/zotero + container_name: zotero + environment: + # for UserID + - PUID=${PUID:-1024} + # for GroupID + - PGID=${PGID:-100} + # specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). + - TZ=${TZ:-Europe/Amsterdam} + volumes: + # Users home directory in the container, stores local files and settings + - ${BASEDIR:-/volume1/docker}/zotero/config:/config + ports: + # Zotero gui. + - 3000:3000 + # HTTPS Zotero gui. + - 3001:3001 + shm_size: "1gb" + restart: unless-stopped diff --git a/lsio/zotero/docker-run.sh b/lsio/zotero/docker-run.sh new file mode 100644 index 0000000..d88aad6 --- /dev/null +++ b/lsio/zotero/docker-run.sh @@ -0,0 +1,15 @@ +# [Zotero](https://www.zotero.org/) is a free, easy-to-use tool to help you +# collect, organize, annotate, cite, and share research. + +. ./.env +docker run -d \ + --name=zotero \ + -e PUID=${PUID:-1024} `# for UserID` \ + -e PGID=${PGID:-100} `# for GroupID` \ + -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).` \ + -p 3000:3000 `# Zotero gui.` \ + -p 3001:3001 `# HTTPS Zotero gui.` \ + -v ${BASEDIR:-/volume1/docker}/zotero/config:/config `# Users home directory in the container, stores local files and settings` \ + --shm-size="1gb" \ + --restart unless-stopped \ + ghcr.io/linuxserver/zotero diff --git a/lsio/zotero/run-once.sh b/lsio/zotero/run-once.sh new file mode 100644 index 0000000..1fecef4 --- /dev/null +++ b/lsio/zotero/run-once.sh @@ -0,0 +1,3 @@ +ln -s ../docker-env.cfg ./.env +. ./.env +mkdir -p ${BASEDIR:-/volume1/docker}/zotero/config