1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 05:41:03 +08:00
1Panel-Appstore/apps/code-server/latest/docker-compose.yml
pooneyy 7ff35caf28
🔧 chore(apps): set the pull policy for all services using fixed tag images
- add `pull_policy: always` to all service definitions across all docker-compose files
- ensure consistent image update behavior for all applications
- maintain existing network configurations and external network settings
- preserve all other service configurations and environment variables
2025-11-10 16:10:24 +08:00

26 lines
550 B
YAML

services:
code:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8443"
volumes:
- "${DATA_PATH}:/config"
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- PASSWORD=${WEB_PASSWORD}
- SUDO_PASSWORD=${SUDO_PASSWORD}
- DEFAULT_WORKSPACE=/config/workspace
image: linuxserver/code-server:latest
pull_policy: always
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true