1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-03-26 23:34:48 +01:00
Files
wiki/applications/onedrive.md
2020-05-06 18:22:37 +02:00

1.0 KiB

Onedrive

Setup Mirror

Docker

The official container and documentation was made by oznu.

Environment-variables

Set the following variables with the -e tag.

Name Usage Default
PUID UserID
PGID GroupID

Volumes

Set the following volumes with the -v tag.

Volume-Name Container mount Description
onedrive_config /config configuration storage for the server connection
onedrive_doc /documents storage for downloaded documents

Rebuild

#!/bin/sh
docker stop onedrive
docker rm onedrive
docker pull oznu/onedrive:latest
docker run --name onedrive \
	--restart unless-stopped \
	-v onedrive_config:/config \
	-v onedrive_doc:/documents \
	-e PUID=$(id -u) \
	-e PGID=$(id -g) \
	-d oznu/onedrive:latest