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

20 lines
997 B
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
source ./.env
docker run -d \
--name=nextcloud \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
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