Skip to content

[Feat]: I wonder if you can create a choice that we can chose config file in other path #6240

@Eggwardhan

Description

@Eggwardhan

What is your suggestion?

My Home path is no space left,So I try to read config from other places.

[houzhaohui@BJ-IDC1-10-10-17-36 code-server-4.0.1-linux-amd64]$ ./bin/code-server --config=./.config/config.yaml 
[2023-05-29T13:57:44.948Z] info  code-server 4.0.1 735c6da829535969ff7193c79379299e4a1cb9bc
[2023-05-29T13:57:44.950Z] info  Using user-data-dir ~/.local/share/code-server
[2023-05-29T13:57:44.953Z] error parent:54473 Uncaught exception: ENOSPC: no space left on device, write
[2023-05-29T13:57:44.954Z] error parent:54473 Error: ENOSPC: no space left on device, write
[2023-05-29T13:57:44.965Z] info  Using config file ./.config/config.yaml
[2023-05-29T13:57:44.965Z] info  HTTP server listening on http://10.10.17.36:8484/ 
[2023-05-29T13:57:44.966Z] info    - Authentication is enabled
[2023-05-29T13:57:44.966Z] info      - Using password from ./.config/config.yaml
[2023-05-29T13:57:44.966Z] info    - Not serving HTTPS 

Why do you want this feature?

start code server by defining other config path.

Are there any workarounds to get this functionality today?

No

Are you interested in submitting a PR for this?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSome improvement that isn't a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy