mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-23 16:12:12 +02:00
Podman: Fix test volume is used (#2297)
Use environment variable instead of test volume
This commit is contained in:
parent
c10870abd4
commit
3acb6c13d2
|
@ -60,7 +60,7 @@ export ONEDRIVE_GID=1000
|
|||
mkdir -p ${ONEDRIVE_DATA_DIR}
|
||||
podman run -it --name onedrive --user "${ONEDRIVE_UID}:${ONEDRIVE_GID}" \
|
||||
-v onedrive_conf:/onedrive/conf:U,Z \
|
||||
-v "onedrive-test-data:/onedrive/data:U,Z" \
|
||||
-v "${ONEDRIVE_DATA_DIR}:/onedrive/data:U,Z" \
|
||||
driveone/onedrive:latest
|
||||
```
|
||||
**Important:** The 'target' folder of `ONEDRIVE_DATA_DIR` must exist before running the podman container
|
||||
|
|
Loading…
Reference in a new issue