mirror of
https://github.com/YunoHost-Apps/code-server_ynh.git
synced 2024-09-03 18:16:28 +02:00
Fix
This commit is contained in:
parent
5b2567df5d
commit
9961515753
4 changed files with 2 additions and 12 deletions
|
@ -4,8 +4,8 @@ After=network.target multi-user.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=__ADMIN__
|
||||
Group=__ADMIN__
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__DATA_DIR__
|
||||
EnvironmentFile=__INSTALL_DIR__/code-server.env
|
||||
ExecStart=__INSTALL_DIR__/bin/code-server --config __INSTALL_DIR__/config.yaml
|
||||
|
|
|
@ -4,10 +4,7 @@
|
|||
|
||||
### Limitations
|
||||
|
||||
* Requires a dedicated domain
|
||||
* `code-server` run as the user you choose during the install
|
||||
* `code-server` files are stored inside `/home/<your-user>/.local/share/code-server`
|
||||
* Subdomains for services on ports (like 8080.code-server-domain.tld) are not supported
|
||||
|
||||
### Extensions
|
||||
|
||||
|
|
|
@ -4,10 +4,7 @@
|
|||
|
||||
### Limitations
|
||||
|
||||
* Nécessite un domaine dédié
|
||||
* `code-server` s'éxécute avec l'utilisateur choisir lors de l'installation
|
||||
* Les fichiers de `code-server` sont stockés dans `/home/<votre-utilisateur>/.local/share/code-server`
|
||||
* Les sous-domaines pour les services sur les ports (like 8080.code-server-domain.tld) ne sont pas pris en charge
|
||||
|
||||
### Extensions
|
||||
|
||||
|
|
|
@ -31,9 +31,6 @@ ram.runtime = "50M"
|
|||
type = "domain"
|
||||
full_domain = true
|
||||
|
||||
[install.admin]
|
||||
type = "user"
|
||||
|
||||
[resources]
|
||||
[resources.sources.main]
|
||||
arm64.url = "https://github.com/coder/code-server/releases/download/v4.12.0/code-server-4.12.0-linux-arm64.tar.gz"
|
||||
|
@ -59,4 +56,3 @@ ram.runtime = "50M"
|
|||
|
||||
[resources.permissions]
|
||||
main.url = "/"
|
||||
main.allowed = "admins"
|
||||
|
|
Loading…
Add table
Reference in a new issue