Created
November 8, 2022 20:34
-
-
Save xholicka/2a55b80c71da179d63daae0f31e7aaf3 to your computer and use it in GitHub Desktop.
code-server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2.1" | |
services: | |
code-server: | |
image: lscr.io/linuxserver/code-server:latest | |
container_name: code-server | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=Europe/Prague #change | |
# - PASSWORD=password #optional | |
# - HASHED_PASSWORD= #optional | |
# - SUDO_PASSWORD=password #optional | |
# - SUDO_PASSWORD_HASH= #optional | |
# - PROXY_DOMAIN=code-server.my.domain #optional | |
- DEFAULT_WORKSPACE=/config/workspace #optional | |
volumes: | |
- /srv/codeserver/config:/config | |
ports: | |
- 8443:8443 | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment