Remove stray blank lines and start every stack with ---

This commit is contained in:
Djeex
2026-09-02 23:42:00 +02:00
parent 8ca6bec943
commit 8b2073474d
57 changed files with 78 additions and 347 deletions
@@ -47,18 +47,15 @@ services:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=${PUID}
- PGID=${GUID}
- TZ=Etc/UTC
- HASHED_PASSWORD=${PW}
volumes:
- /docker/code-server/config:/config
# add folders to mount in VS Code
# - /path/to/folder:/folder
ports:
- 8443:8443
restart: unless-stopped
```
@@ -112,11 +109,11 @@ __If it fails:__ check your firewall rules.
You can mount folders into VS Code by adding the relevant volumes in `compose.yaml` (or via Dockge), then redeploy the container.
```yaml [compose.yaml]
---
services:
code-server:
#...
volumes:
- /path/to/folder:/folder
```
Once inside VS Code, you'll have access to the mounted folder.
@@ -132,6 +129,7 @@ __Preliminary:__ We assume youve created a subdomain like `code.yourdomain.co
In Dockge, go to the SWAG stack and edit the compose file to add code-servers network:
```yaml [compose.yaml]
---
services:
swag:
container_name: # ...