You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
# [Openvscode-server](https://github.com/gitpod-io/openvscode-server) provides a
|
|
# version of VS Code that runs a server on a remote machine and allows access
|
|
# through a modern web browser.
|
|
|
|
---
|
|
version: "2.1"
|
|
services:
|
|
openvscode-server:
|
|
image: ghcr.io/linuxserver/openvscode-server
|
|
container_name: openvscode-server
|
|
environment:
|
|
# for GroupID
|
|
- PUID=${PUID:-1024}
|
|
# for UserID
|
|
- PGID=${PGID:-100}
|
|
# Specify a timezone to use for example Europe/Amsterdam
|
|
- TZ=${TZ:-Europe/Amsterdam}
|
|
# Optional security token for accessing the Web UI.
|
|
- CONNECTION_TOKEN=supersecrettoken # optional
|
|
# Optional path to a file inside the container that contains the security token for accessing the Web UI (ie. `/path/to/file`). Overrides `CONNECTION_TOKEN`.
|
|
- CONNECTION_SECRET= # optional
|
|
volumes:
|
|
# Contains all relevant configuration files.
|
|
- ${BASEDIR:-/volume1/docker}/openvscode-server/config:/config
|
|
ports:
|
|
# Web UI port.
|
|
- 3000:3000
|
|
restart: unless-stopped
|