1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-07-02 10:01:36 +02:00
Files
wiki/wiki/docker/oznu_-_onedrive.md
tiyn c03daea525 Corrected various typographic errors
- substituted en-dash for hyphen where needed
- renamed files to avoid confusion due to identical name
- added links
- fixed capitalization
- fixed line breaks
2026-07-02 09:12:29 +02:00

1.2 KiB
Raw Blame History

oznu onedrive

This is a docker container for a onedrive client. The official container and documentation was made by oznu.

Set-up

Create the file rebuild.sh. Change the settings according to your needs and run ./rebuild.sh afterward.

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.

Outside mount/volume name Container mount Description
onedrive_config /config configuration storage for the server connection
onedrive_doc /documents storage for downloaded documents

rebuild.sh

#!/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