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
@@ -84,7 +84,6 @@ services:
restart: unless-stopped
healthcheck:
test:
- CMD-SHELL
- pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}
start_period: 20s
@@ -92,14 +91,12 @@ services:
retries: 5
timeout: 5s
volumes:
- database:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: ${PG_PASS:?database password required}
POSTGRES_USER: ${PG_USER:-authentik}
POSTGRES_DB: ${PG_DB:-authentik}
env_file:
- .env
redis:
@@ -109,7 +106,6 @@ services:
restart: unless-stopped
healthcheck:
test:
- CMD-SHELL
- redis-cli ping | grep PONG
start_period: 20s
@@ -117,7 +113,6 @@ services:
retries: 5
timeout: 3s
volumes:
- redis:/data
server:
@@ -132,19 +127,15 @@ services:
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS}
volumes:
- ./media:/media
- ./custom-templates:/templates
- ./ssh:/authentik/.ssh
env_file:
- .env
ports:
- ${COMPOSE_PORT_HTTP:-9000}:9000
- ${COMPOSE_PORT_HTTPS:-9443}:9443
depends_on:
- postgresql
- redis
@@ -167,17 +158,14 @@ services:
# (1000:1000 by default)
user: root
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./media:/media
- ./certs:/certs
- ./custom-templates:/templates
- ./ssh:/authentik/.ssh
env_file:
- .env
depends_on:
- postgresql
- redis
@@ -287,6 +275,7 @@ Save with :kbd{value="Ctrl+O"}, then :kbd{value="Enter"}, and exit with :kbd{val
Go to Dockge, and edit the SWAG compose file to add the Authentik network:
```yaml [compose.yaml]
---
services:
swag:
container_name: # ...
@@ -467,6 +456,7 @@ sudo nano /docker/authentik-outpost/compose.yaml
Paste the following configuration, updating the version in `{AUTHENTIK_TAG:proxy:2024.2.3}`{lang=properties} to match your Authentik server version.
```yaml [compose.yaml]
---
version: "3.5"
services:
authentik_proxy:
@@ -476,10 +466,8 @@ services:
# might be needed to reach the core authentik server
restart: unless-stopped
env_file:
- .env
ports:
- 9000:9000
- 9443:9443
environment:
@@ -497,6 +485,7 @@ sudo nano /docker/swag/compose.yaml
```
```yaml [compose.yaml]
---
services:
swag:
container_name: #...