1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-08 17:47:46 +02:00

removed onedrive duplicate from windows10 folder

This commit is contained in:
TiynGER 2021-03-16 15:35:22 +01:00
parent 046b9bc995
commit 6593a274c2

View File

@ -1,39 +0,0 @@
# Onedrive
## Setup with Docker
The official container and documentation was made by [oznu](https://hub.docker.com/r/oznu/onedrive).
### 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
```shell
#!/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
```