install-code-on-portainer/docker-compose-code.yml hinzugefügt

This commit is contained in:
M_Viper 2024-02-13 05:36:49 +00:00
parent d2ba3f36f7
commit 58303593a5
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- PASSWORD=password
- HASHED_PASSWORD= #optional
- SUDO_PASSWORD=password
- SUDO_PASSWORD_HASH= #optional
- PROXY_DOMAIN=Domain #optional
- DEFAULT_WORKSPACE=/config/workspace #optional
volumes:
- /path/to/appdata/config:/config
ports:
- 8443:8443
restart: unless-stopped