# https://hub.docker.com/r/linuxserver/code-server --- version: "2.1" services: code-server: image: linuxserver/code-server:latest container_name: code-server environment: - PUID=xxxx - PGID=xxxx - TZ=Europe/Amsterdam - PASSWORD=xxxxxxxxxxxx #optional volumes: - ./config:/config - /docker:/projects/docker ports: - 8443:8443 restart: unless-stopped