Files
admin e9de263ee1 pocs (#51)
Reviewed-on: admin/ansible#51
Co-authored-by: rudolf <rudolfss13@gmail.com>
2026-10-05 23:54:20 +02:00

717 B

Code-Server (code-server) Docker Swarm stack

Deploy a lightweight web-accessible VS Code (code-server) on Docker Swarm.

Quick usage

  • Edit stack-code-server.yml to set a secure PASSWORD (or use Docker secrets).
  • Deploy the stack:
docker stack deploy -c stack-code-server.yml code-server

Access

  • Open http://:8443 or https depending on the image configuration. Log in with the password set in the compose file.

Notes

  • The service stores config in a named volume code_server_data and mounts ./workspace into the container at /config/workspace.
  • For production, replace the PASSWORD with a Docker secret and consider putting the service behind a reverse proxy/traefik with TLS.