appstore-1panel/apps/code-server/4.90.3/docker-compose.yml

24 lines
517 B
YAML
Raw Normal View History

services:
code:
image: linuxserver/code-server:4.90.3
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8443"
volumes:
2023-07-13 15:34:02 +08:00
- ./data:/config
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
2024-05-21 11:58:30 +08:00
- PASSWORD=${WEB_PASSWORD}
- SUDO_PASSWORD=${SUDO_PASSWORD}
- DEFAULT_WORKSPACE=/config/workspace
2024-05-21 11:58:30 +08:00
labels:
createdBy: "Apps"
2024-05-21 11:58:30 +08:00
networks:
1panel-network:
external: true