Created
July 19, 2026 22:09
-
-
Save bensuperpc/0f4b7647e37ba618a92b2fa201356c1c to your computer and use it in GitHub Desktop.
vscode-online
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| # vscode-server | |
| vscode-server: | |
| restart: on-failure:7 | |
| image: lscr.io/linuxserver/code-server:${VSCODE_SERVER_DOCKER_TAG:-latest} | |
| container_name: vscode-server | |
| ports: | |
| - 8443:8443 | |
| environment: | |
| - TZ=${TZ:-Europe/Paris} | |
| - PUID=${PUID:-1000} | |
| - PGID=${PGID:-1000} | |
| - SUDO_PASSWORD=password | |
| - PASSWORD=password | |
| # - PROXY_DOMAIN=vscode.bensuperpc.org | |
| - DOCKER_MODS=linuxserver/mods:code-server-python3|linuxserver/mods:universal-docker | |
| - DOCKER_HOST=tcp://docker-dind:2375 | |
| profiles: | |
| - vscode-server | |
| depends_on: | |
| - docker-dind | |
| volumes: | |
| - vscode-server_config:/config:rw | |
| networks: | |
| - vscode-server | |
| # docker-dind | |
| docker-dind: | |
| image: docker:dind | |
| container_name: docker-dind | |
| restart: on-failure:7 | |
| privileged: true | |
| entrypoint: ["dockerd"] | |
| command: | |
| - --host=unix:///var/run/docker.sock | |
| - --host=tcp://0.0.0.0:2375 | |
| volumes: | |
| - docker-dind-data:/var/lib/docker | |
| networks: | |
| - vscode-server | |
| profiles: | |
| - vscode-server | |
| networks: | |
| vscode-server: | |
| driver: bridge | |
| name: vscode-server | |
| volumes: | |
| vscode-server_config: | |
| name: vscode-server_config | |
| docker-dind-data: | |
| name: docker-dind-data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment