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
+2 -7
View File
@@ -58,13 +58,10 @@ services:
image: lscr.io/linuxserver/swag:latest
container_name: swag
cap_add:
- NET_ADMIN
env_file:
- .env
environment:
- TZ=Europe/Paris
- URL=${DOMAIN}
- EXTRA_DOMAINS=${DOMAINS}
@@ -74,16 +71,13 @@ services:
- EMAIL=${EMAIL}
- DOCKER_MODS=linuxserver/mods:swag-dbip|linuxserver/mods:swag-dashboard|linuxserver/mods:swag-auto-reload
volumes:
- /docker/swag/config:/config
ports:
- 80:80
- 443:443
- 81:81
restart: unless-stopped
networks:
- swag
networks:
@@ -96,11 +90,11 @@ networks:
Add the watchtower label to each container to enable automatic updates
```yaml [compose.yaml]
---
services:
swag:
#...
labels:
- com.centurylinklabs.watchtower.enable=true
```
::
@@ -361,6 +355,7 @@ By default, SWAG doesnt recognize the name "dockge". Youll need to add Doc
Go to the SWAG stack, click `edit`, and modify the config file like this (note the `networks` section):
```yaml [compose.yaml]
---
services:
swag:
container_name: #...