@@ -27,7 +27,7 @@ launch of OctoPrint using docker.
2727Use the following values in the webcam & timelapse settings screen of the initial setup:
2828
2929| Setting | Value |
30- | ========= | ======= |
30+ | ------- | ----- |
3131| Stream URL | ` /webcam/?action=stream ` |
3232| Snapshot URL | ` http://localhost:8080/?action=snapshot ` |
3333| Path to FFMPEG | ` /usr/bin/ffmpeg ` |
@@ -39,7 +39,7 @@ Listed below are the options and their defaults. These are implicit in example [
3939and if you wish to change them, refer to the docker-compose docs on setting environment variables.
4040
4141| variable | default |
42- | ========== | ========= |
42+ | -------- | ------- |
4343| ` CAMERA_DEV ` | ` /dev/video0 ` (see [ note] ( #devices_note ) ) |
4444| ` CAMERA_DEV ` | ` MJPEG_STREAMER_INPUT -y -n -r 640x48 ` |
4545
@@ -52,27 +52,30 @@ in your container.
5252
5353#### Editing Config files manually
5454
55- This docker-compose file also contains a container based instance of vscode, accessible
55+ This docker-compose file also contains a container based instance of [ vscode] [ ] , accessible
5656via your browser at the same url as your octoprint instance, allowing you to edit configuration
5757files without needing to login to your octoprint host.
5858
59- To make use of this editor, just uncomment the indicated lines in your [ docker-compose.yml] ( docker-compose.yml#20-32 )
59+ To make use of this editor, just uncomment the indicated lines in your [ docker-compose.yml] ( docker-compose.yml#L20-L32 )
6060then run the following commands:
6161
6262```
6363docker-compose up -d config-editor
6464```
6565
66- Now go to ` http://<octoprint_ip_or_url>:8443 ` in your browser to edit your octoprint files!
66+ Now go to ` http://<octoprint_ip_or_url>:8443/?folder=/config ` in your browser to edit your octoprint files!
6767Use the 'explorer' (accessible by clicking the hamburger menu icon) to explore folder and files to load
6868into the editor workspace.
6969
70+ The active configuration will be accessible at ` /config/config.yaml `
71+
7072When you're done, we recommend you stop and rm this service/container:
7173
7274```
7375docker-compose stop config-editor && docker-compose rm config-editor
7476```
7577
78+ For full documenation about the config editor, see the docs for the product at [ github.com/cdr/code-server] [ code-server ] .
7679
7780## Without docker-compose
7881
@@ -84,3 +87,6 @@ docker volume create octoprint
8487docker run -d -v octoprint:/octoprint --device /dev/ttyACM0:/dev/ttyACM0 --device /dev/video0:/dev/video0 -p 80:80 --name octoprint octoprint/octoprint
8588
8689```
90+
91+ [ code-server ] : https://github.com/cdr/code-server
92+ [ vscode ] : https://code.visualstudio.com
0 commit comments