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

20 lines
1.0 KiB
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Nextcloud](https://nextcloud.com/) gives you access to all your files
# wherever you are. Where are your photos and documents? With Nextcloud you pick
# a server of your choice, at home, in a data center or at a provider. And that
# is where your files will be. Nextcloud runs on that server, protecting your
# data and giving you access from your desktop or mobile devices. Through
# Nextcloud you also access, sync and share your existing data on that FTP drive
# at the office, a Dropbox or a NAS you have at home.
2021-04-10 10:16:29 +00:00
2023-04-26 00:53:18 +00:00
. ./.env
2021-04-10 10:16:29 +00:00
docker run -d \
--name=nextcloud \
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).` \
2021-04-10 10:16:29 +00:00
-p 443:443 `# WebUI` \
-v ${BASEDIR:-/volume1/docker}/nextcloud/config:/config `# Nextcloud configs.` \
-v ${BASEDIR:-/volume1/docker}/nextcloud/data:/data `# Your personal data.` \
--restart unless-stopped \
ghcr.io/linuxserver/nextcloud