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

25 lines
538 B
YAML
Raw Normal View History

version: '3'
services:
code:
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
- PASSWORD=${WEB_PASSWORD}
- SUDO_PASSWORD=${SUDO_PASSWORD}
- DEFAULT_WORKSPACE=/config/workspace
image: linuxserver/code-server:4.19.0
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true