version: "3.8" 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 - ${Deploy}:/config/workspace/.deploy ports: - ${Port}:8443 restart: unless-stopped networks: # networks indentation moved to top level default: name: ${Name}