Skip to content

Commit 294a9b6

Browse files
committed
further clarify docs
1 parent 59aafa5 commit 294a9b6

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

README.md

+14-8
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,17 @@ $ cat $(rclone config file | sed -n 2p) | base64 --wrap=0 # Linux
2929
$ cat $(rclone config file | sed -n 2p) | base64 --b 0 # MacOS
3030
```
3131

32-
Now, add the following the environment variables in the code-server cloud app:
33-
34-
| Environment Variable | description | default value | required |
35-
| -------------------- | ------------------------------------------------------------------------------------------------------ | ----------------------------------------- | -------- |
36-
| RCLONE_DATA | the encoded rclone config you copied in step 3 | n/a ||
37-
| RCLONE_REMOTE_NAME | the name of the remote you added in step 2. check with `$ rclone listremotes` | code-server-remote | |
38-
| RCLONE_SOURCE | source directory to sync files in the code-server container | the entire home directory: `/home/coder/` | |
39-
| RCLONE_DESTINATION | the path in the remote that rclone syncs to. change this if you have multiple code-server environments | code-server-files | |
32+
Now, you canadd the following the environment variables in the code-server cloud app:
33+
34+
| Environment Variable | Description | Default Value | Required |
35+
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- | -------- |
36+
| RCLONE_DATA | the encoded rclone config you copied in step 3 | n/a ||
37+
| RCLONE_REMOTE_NAME | the name of the remote you added in step 2. check with `$ rclone listremotes` | code-server-remote | |
38+
| RCLONE_SOURCE | source directory to sync files in the code-server container | the entire home directory: `/home/coder/` | |
39+
| RCLONE_DESTINATION | the path in the remote that rclone syncs to. change this if you have multiple code-server environments, or if you want to better organize your files. | code-server-files | |
40+
41+
---
42+
43+
## Todo:
44+
45+
- [ ] Make rclone logs visible in environment for debugging

0 commit comments

Comments
 (0)