version: "2.1" services: code-server: image: ghcr.io/linuxserver/code-server container_name: ${Name} environment: - PUID=${PUID} - PGID=${PGID} - TZ=${TZ} - PASSWORD=${Password} # in container files directory # - USER_DATA_DIR=/config/workspace volumes: - ${Config}:/config - ${Files}:/config/workspace ports: - ${Port}:8443 restart: unless-stopped