Run VS Code on any machine anywhere and access it in the browser.
50K+
Docker image for code-server 4.99.4.
Built from Islandora-DevOps/isle-buildkit code-server
Please refer to the code-server Documentation for more in-depth information.
Allows for shared development environment hosted in the browser.
Adds some debugging utilities and changes nginx and php-fpm configuration
such that two php processes run, one with xdebug and one without. The
xdebug process will be used if XDEBUG_SESSION cookie is present in the
request otherwise it will go to the much faster non-xdebug process.
For a good experience, it is recommended at least:
Requires islandora/drupal docker image to build. Please refer to the
Drupal Image README for additional information including
additional settings, volumes, ports, etc.
| Port | Description |
|---|---|
| 80 | Nginx |
| 8443 | Code server |
| 9003 | XDebug |
| Path | Description |
|---|---|
| /opt/code-server/data | code-server cache |
It is expected that this image will be used in conjunction with the
drupal image. Such that the code-server container is responsible for serving
the Drupal site as well as hosting xdebug, and code-server.
To achieve the the Drupal should create a volume for the Drupal root and any of
any of its public / private file volumes. These volumes can then be mounted at
the same locations within the code-server container with the nocopy flag
set. Also make sure your create the Drupal container before the code-server
container so the volumes are correctly populated with content from the Drupal
image.
| Environment Variable | Default | Description |
|---|---|---|
| CODE_SERVER_AUTHENTICATION | password | Must be either 'none' or 'password' |
| CODE_SERVER_PASSWORD | password | Only used if CODE_SERVER_AUTHENTICATION is set to 'password' |
Code server provides shell access to the server on which it is running, for that reason never use it in a situation where it is accessible publicly from the internet without setting a strong password. Or alternatively do not use a password and instead use port forwarding so that it is inaccessible publicly.
| Environment Variable | Default | Description |
|---|---|---|
| XDEBUG_FLAGS | -d xdebug.mode=develop,debug | See XDebug Documentation for settings, and prefix each setting with -d |
Content type
Image
Digest
sha256:16de7fbbd…
Size
427.6 MB
Last updated
6 months ago
docker pull islandora/code-server:4.3.17Pulls:
590
Last week