docker-bits/lsio/wps-office/docker-run.sh
2023-04-26 00:53:18 +00:00

18 lines
886 B
Bash

# [WPS Office](https://www.wps.com/) is a lightweight, feature-rich
# comprehensive office suite with high compatibility. As a handy and
# professional office software, WPS Office allows you to edit files in Writer,
# Presentation, Spreadsheet, and PDF to improve your work efficiency.
. ./.env
docker run -d \
--name=wps-office \
-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 `# WPS Office desktop gui.` \
-p 3001:3001 `# WPS Office desktop gui HTTPS.` \
-v ${BASEDIR:-/volume1/docker}/wps-office/config:/config `# Users home directory in the container, stores program settings and documents` \
--shm-size="1gb" \
--restart unless-stopped \
ghcr.io/linuxserver/wps-office