OpenCode Server
Conteneur LXC oraad — proxmox-scriptsOpenCode is a privacy-first AI coding agent that runs locally with full control over your data, models, and permissions. This script installs the official binary nativel…
Se connecter
Conteneur LXC oraad — proxmox-scripts
http://ADRESSE-IP:8680Remplacez ADRESSE-IP par l'adresse donnée à la fin de l'installation.root, connexion automatique sans mot de passe. Le SSH de root n'est ouvert que si vous l'avez demandé à l'installation./root/.config/code-server/config.yamlauth: none) and binds to 0.0.0.0:8680. For anything reachable beyond a trusted LAN, set a password — edit /root/.config/code-server/config.yaml to add password: <your-password> (or auth: password), then systemctl restart code-server@root. Consider fronting it with an authenticating reverse proxy.var_hass_ingress=yes bash -c "$(curl -fsSL https://raw.githubusercontent.com/oraad/proxmox-scripts/main/ct/code-server.sh)" (or answer yes to the prompt). This disables code-server's own auth (HA becomes the auth boundary) and writes a ready-to-paste configuration.yaml snippet to /opt/code-server-ha-ingress.md inside the container.code-server is a self-hosted Visual Studio Code served over the web, so you can use it from any browser on any device. This script installs the official Debian package natively in an LXC (no Docker) and runs it as a systemd user service on port 8680.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/oraad/proxmox-scripts/main/ct/code-server.sh)"
Configuration : /root/.config/code-server/config.yaml
Dans le shell du nœud Proxmox. Exécutez cette commande dans le shell du nœud Proxmox, pas dans une VM. Lisez le script d'abord.
De l'interface de Proxmox jusqu'à la première connexion, pour Coder Code Server.
Ouvrez l'interface de Proxmox dans votre navigateur et connectez-vous.
Dans l'arbre de gauche, cliquez sur votre nœud, puis sur « Shell ».
Vérifiez que le nœud a la place pour ce conteneur : 2 cœurs, 4 Go de mémoire, 16 Go de disque.
Copiez cette commande, collez-la dans le shell et appuyez sur Entrée.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/oraad/proxmox-scripts/main/ct/code-server.sh)"Attendez la fin de l'installation : le script affiche l'adresse du conteneur.
Ouvrez http://ADRESSE-IP:8680 dans votre navigateur, en remplaçant ADRESSE-IP par l'adresse affichée.
Pour mettre à jour plus tard : tapez update dans la console du conteneur.
Le fichier de configuration se trouve ici : /root/.config/code-server/config.yaml
update inside the LXC, or pct exec <CTID> -- update from the Proxmox host. Interactive update shows Silent/Verbose/Cancel, then Update, Remove Unused Packages, or Restart. Unattended (PHS_SILENT=1 or non-TTY) runs a silent app update.